Position_destroy_solid - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

Destroys all instances of solid objects that collide with the given position.

Parameters

Parameter Data Type Description
x cs_scalar x coordinate of the position
y cs_scalar y coordinate of the position

Return Values

void: This function does not return anything.

Example Call

// demonstrates destroying instances of solid objects at a random position in the room
position_destroy_solid(random(room_width), random(room_height));

NOTOC