Skip to content

Instance_activate_circle

hpgDesigns edited this page Aug 8, 2021 · 1 revision

Description

Activates the instances that are either inside or outside the circle.

Parameters

Parameter Data Type Description
x integer x coordinate of the circle center
y integer y coordinate of the circle center
rad integer radius of the circle
inside boolean whether to activate instances inside the circle instead of the outside (optional, default set to true)

Return Values

void: This function does not return anything.

Example Call

// demonstrates activating instances close to an instance of the player object
instance_activate_region(obj_player.x, obj_player.y, 200, true);

NOTOC

This is number 1

Clone this wiki locally