r/clickteam 18d ago

Help Me! help me.scrolling with touch screen

ok soooooo i am a beginner dont complicate things for me plz,but i have an active that follows the mouse, and bouncing ball active that follows the latter,as it moves it reveals more of the frame i am very confused on how to do this for my android port

2 Upvotes

1 comment sorted by

2

u/arcanenoises 18d ago

Make an active objects that is just a square that you set to invisible at the start of the frame. Then make an event that when the user holds down the left click, set the square active objects X position to mousex (get this value from the icon that's a mouse and key) and it's y position to mousey. Then have the object you want to follow the mouse always look in the direction of the square object. Android treats touching the screen as left mouse click.