Destroys selected object
instance_destroy(go)
GameObject
Returns: N/A
This function will delete your selected object.
if (mouse_check_button_pressed(MouseButtons.mb_right)) { instance_destroy(this); }
This code will delete GameObject with this code.
Back to Instances
There was an error while loading. Please reload this page.