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

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

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