Mouse click on image cannot access scene (this)

you forgot to use the callbackscope “this”.

info_image.on(‘pointerdown’, function () {
this.text5.setText(“greeings”);
},this);

1 Like