Page 1 of 1

Getting

Posted: Sat Mar 01, 2014 8:31 pm
by Findo777
Is there any way to get the X and Y of something?
I know you can get the height and width, but anyway to get X and Y?

Re: Getting

Posted: Sat Mar 01, 2014 8:43 pm
by davisdude
Not by default. You could make one, though.
EDIT: (Unless you're using love.physics, then I think you can, but don't hold me to that, I have never used it before).

Re: Getting

Posted: Sat Mar 01, 2014 9:16 pm
by Findo777
Awww

Re: Getting

Posted: Sat Mar 01, 2014 9:17 pm
by Ranguna259
From what ?
Post any further question in the "Support and Development" section of the forum

Re: Getting

Posted: Sat Mar 01, 2014 9:25 pm
by slime
Most objects don't have a position, so it wouldn't make sense to get or set it.

For drawable objects (images, etc.) you draw them at a certain position, you don't set the object's position.