Quantcast
Channel: Pixi.js Latest Topics
Viewing all articles
Browse latest Browse all 3978

Remove an Object with a html button

$
0
0

Hi,

I generate text on my canvas ,

I want call a JS function when I click on this specific text and next  on a HTML button and access to the text properties to make a `text.parent.removeChild(text) ` 

How can I do to make this happen ?


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>