How to call functions with JS

Hi guys,
I’m trying to change text of a BitmapText Object from Javascript editor, but it doesn’t work.
I Have same problem to call SceneWindowWidth() from Javascript editor.
Anyone know how to do it?

Please post a screenshot of your code.

For reference:

IDK about the scene width/height.

this is what I’m trying to do, where the TextPlayer is a BitMap object and I would like to change the text

Did you try setText() as in textPlayer.setText(“123”); instead of _text

I don’t believe you’re supposed to use methods or variables with an underscore. They’re private.

The very bottom of this page:

Also useful: