How to get the position on X and Y of an object?
-
Hi, i'd like to make a program where a ball follows de player (who is an image), but i can't figure out how to get the position of the player. Thank you all.
-
@manuxd32 Create two Variables Player X and player Y.
When the controls change the X and Y values, other code can then read those variable to alter the balls position. -
Wow, thank you, sure this works.