Issue binding object actor coordinates to a text widget

Hi, i’m trying to bind an actor’s variable to a text widget, but i can’t understand how to cast to the actor beacause i’m getting an error, is casting in this case the wrong command?