OUR OFFICIAL WEBSITE: https://dsgamemaker.online - ONLINE


WARNING! YOU WILL BE BANNED WITHOUT WARNING PERMENANTLY FOR SPAMMING THE FORUM WITH NON-DSGM RELATED TOPICS & POSTS! - FULLY ENFORCED!!!

NOTICE: ALL members that have NOT logged in once since their activation within 5 days have been and will be deleted!!! LAST UPDATED: 5-1-2022

NOTICE: I will NOT be sending anymore emails confirming your account being activated.. Try to log in and see if your account was activated yet..

ALL accounts MUST be Admin activated due to the server we are on! - More info in the announcements section

Please read announcements section of the forum upon logging in to stay up to date

Side note: Just a reminder, 4.9 and 5.12 are 2 totally different programs. You cannot use 1 app to load projects from the other.

How can i get an objects position?

Discussions and support SPECIFICALLY for version 5.12 only
Post Reply
User avatar
zippycat
Newbie
Newbie
Posts: 12
Joined: Mon Jun 07, 2021 7:29 pm

How can i get an objects position?

Post by zippycat »

hello so i would like to know how can i get positions of a said object
like its y and x position and stuff like that
a casual man
mostly has no original ideas, most of the i do games will be ports of pc games
learning c++, also learning to do night fox lib.
5.12 most likely will be used by me
User avatar
Ruffsta
Site Admin
Site Admin
Posts: 170
Joined: Fri May 22, 2020 6:21 am

Re: How can i get an objects position?

Post by Ruffsta »

i wish i could answer your question.. but i am strictly a 4.9 user.. and i haven't been using it in a bit because i am trying to start a spice business and buying a house within 4mo.. so i am packing and getting my financials in order atm... but hopefully another member can help you out.. if not PM me in a few days and i can pass the message out to James..
DS Games:
BananaCraze / MasterMind / Rock,Paper, Scissors

*strictly a 4.9 user
User avatar
zippycat
Newbie
Newbie
Posts: 12
Joined: Mon Jun 07, 2021 7:29 pm

Re: How can i get an objects position?

Post by zippycat »

its fine that you cannot answer my question because you're a strictly 4.9 user
its not like im impatient or anything.
a casual man
mostly has no original ideas, most of the i do games will be ports of pc games
learning c++, also learning to do night fox lib.
5.12 most likely will be used by me
User avatar
BowersIndustry
Newbie
Newbie
Posts: 16
Joined: Wed Jan 12, 2022 12:21 am
Location: Earth
Contact:

Re: How can i get an objects position?

Post by BowersIndustry »

zippycat wrote: Wed Mar 09, 2022 6:17 am its fine that you cannot answer my question because you're a strictly 4.9 user
its not like im impatient or anything.
Hello! I might be able to help.

You can set a variable to [X] for X position or the object that the script is on, also [Y] for the Y position.

Also I made a discord server for DSGM if your interested. You will probably get answers faster, and also we have a couple original members on there who have not really been on this forum lately.
https://discord.gg/vx3g55EPT6
Bringing back the DS Game Maker community.

Creator of: DeS
Post Reply