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?
Getting
Re: Getting
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).
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).
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
- Ranguna259
- Party member
- Posts: 911
- Joined: Tue Jun 18, 2013 10:58 pm
- Location: I'm right next to you
Re: Getting
From what ?
Post any further question in the "Support and Development" section of the forum
Post any further question in the "Support and Development" section of the forum
- slime
- Solid Snayke
- Posts: 3170
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Getting
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.
For drawable objects (images, etc.) you draw them at a certain position, you don't set the object's position.
Who is online
Users browsing this forum: Bing [Bot] and 2 guests