Skip to content

Position_destroy_solid

hugh greene edited this page Jun 20, 2022 · 1 revision

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

Clone this wiki locally