Instance_activate_circle - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

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