property ctrl

(r/w) bool ctrl;

Typ

Zugriff

This property is used to get and set the ctrl attribute for a key.
function onSample()
{
    var keyGroup = scene.getKeyGroupById("myKeyGroup");
    if (keyGroup)
    {
        var key = keyGroup.getCommandById("myKey");
        if (key)
        {
            shell.print("key id = " + key.id);
            shell.print("key command = " + key.command);
            shell.print("key shift = " + key.shift);
            shell.print("key alt = " + key.alt);
            shell.print("key key = " + key.key);
            shell.print("key ctrl = " + key.ctrl);
        }
    }
}