What I am wanting to achieve is for my image to be drawn at coordinates divisible by 24 only. Let's say I click at 170, 80 I need to find the closest coords (x AND y) that are divisible by 24 and draw the image there.

I can't think of a suitable method to do this, so if anyone can provide some guidance for me that would be much appreciated.

~Shazer2

"When you want to be successful as bad as you want to breathe, then you will be successful." - Eric Thomas

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org