pub fn toggle_block(
config: &GDObjConfig,
target_group: i16,
activate_group: bool,
claim_touch: bool,
multi_activate: bool,
spawn_only: bool,
) -> GDObjectExpand description
Returns a toggle block object
ยงArguments
config: General object options, such as position and scaletarget_group: Spawns this groupactivate_group: Activate/spawn group instead of deactivating?claim_touch: Disable buffer clicking?multi_activate: Allow multiple activations?spawn_only: Spawn only without toggling?