The block changes the selected sprite’s X position to a specified value.
The example demonstrates how to add gravity into the project on a bouncing ball.
Script
- Main Script to change the speed and position parameters of the ball.
- Custom function to initialize the ball position and speed with random variables.
- Custom function to check the boundary conditions and set the rules.
Output
Read More