[noob] how to get the image x and y ?

BlitzMax Forums/BlitzMax Beginners Area/[noob] how to get the image x and y ?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

H!

I know how to get the x and y with blitz 3D but how must I do this with blitzmax ?

strict
Local button:TImage = LoadImage("incbin::images/button.jpg")

While Not KeyHit(KEY_ESCAPE)
Cls
ResetCollisions

DrawImage button,200,34

drawtext button.X() and button.Y(),0,0

Flip
Wend

---
output 200,34