Skip to content

Instance_deactivate_circle

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

Description

Deactivates 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 region instead of the outside (optional, default set to true)
notme boolean whether to not deactivate the instance calling the function (optional, default set to true)

Return Values

void: This function does not return anything.

Example Call

// demonstrates deactivating instances outside the current view
instance_activate_circle(view_xview[view_current], view_yview[view_current], view_wview[view_current], view_hview[view_current], false, false);

NOTOC

Clone this wiki locally