v[20q9nv47p2398v4

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. const font = new PIXI.Text('TJXY'); font.anchor.set(0.5); font.position.set(renderer.screen.width / 2, renderer.screen.height / 2); font.interactive = true; font.buttonMode = true; font.on('pointerdown', function () { font.scale.y *= 1.25; }); stage.addChild(font); that didn't work. but the v5 doc suggested that it's possible, no error show in console.