Set text to an objects instance variable

Hi I am just starting out - I have a sprite named player1, with an instance variable called health, set at 101, I have text object called healthtext, and I want to set its text to display player1(health).

i am trying to set my text to player1.Variable(health)

what am i missing? thx much!

Hi,

Try ToString(player1.Variable (health))

When you update the text object.

1 Like

Reeeally digging the support here. Thanks Phenomena -

1 Like