-
Notifications
You must be signed in to change notification settings - Fork 0
Position_destroy_object
hpgDesigns edited this page Aug 8, 2021
·
1 revision
Destroys all instances of the given object that collide with the given position.
| Parameter | Data Type | Description |
|---|---|---|
| x | cs_scalar | x coordinate of the position |
| y | cs_scalar | y coordinate of the position |
| obj | integer | object to destroy the instances of |
void: This function does not return anything.
// demonstrates destroying instances of an object at a random position in the room
position_destroy_object(random(room_width), random(room_height));
NOTOC
This is number 1