Check picture's current position x,y

Is there a way to do that? I have tried this, but it doesn't work for me ;(



1606470838158.png
👋
JavaScript:
$gameScreen.picture(4).x()
👋
JavaScript:
$gameScreen.picture(4).x()
Of course, lol... I feel ashamed. Thanks! 🙂

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/check-pictures-current-position-x-y.130355/