I am developing a new behaviour and I would like to know its name, because one Sprite has several behaviours of this kind and I give them different names.
I'm trying to access it inside "behinstProto.tick" but "this.name" returns "undefined"...
Develop games in your browser. Powerful, performant & highly capable.