I am attempting to duplicate a project that I have done in App Inventor. In App Inventor you get a flung event handler for a ball object that can be placed on a Canvas. The Event Handler gives you heading and speed which can be used to move the ball in the direction of the fling at a speed matching the flick of your finger.
I can’t seem to find anything in Thunkable that emulates this and as such am struggling to find a way to control the movement of a sprite when it is “flung”.
The code I am using is below:
(I’m not sure if the picture went through so here’s a brief description.
I am using the dropped event handler for the sprite but I don’t see a way to make the speed of the ball match the speed of the fling and I would say it is difficult to accurately get the sprite to move in the direction of the fling. It will frequently move into another direction when you fling it quickly.
Anyone have any ideas?