destroyAll(tag: Tag): void
Remove all game objs with certain tag.
param
tag- The tag to search for.
// destroy all objects with tag "bomb" when you click one onClick("bomb", () => { destroyAll("bomb"); });
Remove all game objs with certain tag.
param
tag- The tag to search for.
// destroy all objects with tag "bomb" when you click one onClick("bomb", () => { destroyAll("bomb"); });
Assets
Components
Component Types
Input
Events
Info
Math
Misc
Draw
Layer
Camera
Level
Plugins
Button Bindings