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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login