ANY-maze Help > The ANY-maze reference > The Protocol page > The elements of a protocol > Behaviour > Keys > Setting up a key > Specifying a key's type

Specifying a key's type

In brief

You should use the drop-down list on the key's settings page to specify a key's type - i.e. how the key should actually work. There are three options:

SimpleThe activity is registered as starting when the key is pressed and as ending when the key is released.
ToggleThe activity is registered as starting the first time the key is pressed and as ending the second time the key is pressed.
RadioRadio keys work like Toggle keys, except that only one Radio key can be active at the same time. This means that registering the start of a Radio key behaviour will automatically register the end of any other currently active Radio key behaviours.

Details

If you include any Toggle or Radio keys in a protocol, then you will probably find it useful if ANY-maze indicates during tests which keys it considers to be active (otherwise it's easy to lose track of whether a key is on or off). You can choose to have active keys indicated using the options on the What to display while testing element of the protocol.

© Copyright 2003-2026 Stoelting Co. All rights reserved

ANY-maze help topic T0367