# Moving ball by buttons

**URL:** <https://forums.unrealengine.com/t/moving-ball-by-buttons/483100>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [May 8, 2021, 2:41pm UTC](https://forums.unrealengine.com/t/moving-ball-by-buttons/483100 "2021-05-08T14:41:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dipesh1510](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dipesh1510](https://forums.unrealengine.com/u/Dipesh1510)\
**Post date:** [May 8, 2021, 2:41pm UTC](https://forums.unrealengine.com/t/moving-ball-by-buttons/483100/1 "2021-05-08T14:41:18Z")

</div>

I want the rolling ball to move forward backward left and right by buttons but I’m not be able to do so . Can anyone help me out

---

<div class="post-metadata">

**Author:** ![Dipesh1510](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dipesh1510](https://forums.unrealengine.com/u/Dipesh1510)\
**Post date:** [May 8, 2021, 7:55pm UTC](https://forums.unrealengine.com/t/moving-ball-by-buttons/483100/2 "2021-05-08T19:55:54Z")

</div>

Can anyone help me out !!

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [May 9, 2021, 7:44am UTC](https://forums.unrealengine.com/t/moving-ball-by-buttons/483100/3 "2021-05-09T07:44:14Z")

</div>

As in, the most fundamental method for rolling a ball around could look like this:

 ![338353-screenshot-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/b/d/dbdd17d7ebd69846e92eb78bef8d02583a3258cd.png)

You may not be getting answers as there’s few details in the question.

[![Image from Gyazo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/b/4/db4977c868ac00726143487fe52415833e4bc876.gif)](https://gyazo.com/837f09ee2b70042b24d9fd71891da398)

---

<div class="post-metadata">

**Author:** ![Dipesh1510](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dipesh1510](https://forums.unrealengine.com/u/Dipesh1510)\
**Post date:** [May 9, 2021, 10:26am UTC](https://forums.unrealengine.com/t/moving-ball-by-buttons/483100/4 "2021-05-09T10:26:20Z")

</div>

Buddy I’m making game for Android not pc !

---

<div class="post-metadata">

**Author:** ![Dipesh1510](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dipesh1510](https://forums.unrealengine.com/u/Dipesh1510)\
**Post date:** [May 9, 2021, 11:42am UTC](https://forums.unrealengine.com/t/moving-ball-by-buttons/483100/5 "2021-05-09T11:42:09Z")

</div>

buddy im talking about these (android)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [May 9, 2021, 1:55pm UTC](https://forums.unrealengine.com/t/moving-ball-by-buttons/483100/6 "2021-05-09T13:55:17Z")

</div>

> Buddy I’m making game for Android not  
> pc !

Perhaps you should have mentioned it in your question…

Besides, the script would be identical, just use Android specific inputs. If you want to use widgets for movement, use touch input. It’s _the very standard_ method for mobile.

---

<div class="post-metadata">

**Author:** ![Dipesh1510](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dipesh1510](https://forums.unrealengine.com/u/Dipesh1510)\
**Post date:** [May 13, 2021, 10:22am UTC](https://forums.unrealengine.com/t/moving-ball-by-buttons/483100/7 "2021-05-13T10:22:31Z")

</div>

Buddy I don’t know how to do that . Will you please help 🙂
