Skip to main content

stop_trigger

Function stop_trigger 

Source
pub fn stop_trigger(
    config: &GDObjConfig,
    target_group: i16,
    stop_mode: StopMode,
    use_control_id: bool,
) -> GDObject
Expand description

Returns a stop trigger

ยงArguments

  • config: General object options, such as position and scale
  • target_group: Target group to stop/pause/resume
  • stop_mode: Stop mode (see StopMode struct)
  • use_control_id: Only stops certain triggers within a group if enabled.