I want to create only one "Object2" when "Object1" is in touch
this code create infinity of "Object2" when i touch "Object1"
could you help me please.
Thank you
Develop games in your browser. Powerful, performant & highly capable.
what about using onTouched?
If you need is touching, you could add a variable of the sorts to say one was created.
then only create the object when this variable is set to no object created.