NumpadTriggerDevice.ActivateKey
Skip to content
mnscript
bool NumpadTriggerDevice.ActivateKey() 

Description ​

Activates the key on the owner of the device.

Returns ​

bool - True if the numpad key was activated on the owner

Example ​

msc
using Device;

// Finds a numpad trigger with the name "My Numpad Trigger" and activates the key
NumpadTriggerDevice device = Device.FindNumpadTrigger("My Numpad Trigger");
device.ActivateKey();