Provides custom events for the press and release of each key.
Category
Latest Behaviors
Author
Gavin Kistner
Difficulty
(Reference)
Time to Complete
5 Minutes
Downloads
Click Here
to download the associated files.
(This document covers version 1.0 of the 'Key Events' behavior, current as of 2005-Aug-04)
Description
Put this behavior anywhere in the scene to provide custom events for the press and release of each key, which can be referenced by a Studio action.
(This behavior will function the same whether you attach it to the Scene or to any other object; the only reason to attach it to other objects would be for convenient relative referencing by an object which uses this behavior.)
Events
a
_
down
Fires when the a key is pressed
a
_
up
Fires when the a key is released
b
_
down
Fires when the b key is pressed
b
_
up
Fires when the b key is released
c
_
down
Fires when the c key is pressed
c
_
up
Fires when the c key is released
d
_
down
Fires when the d key is pressed
d
_
up
Fires when the d key is released
e
_
down
Fires when the e key is pressed
e
_
up
Fires when the e key is released
f
_
down
Fires when the f key is pressed
f
_
up
Fires when the f key is released
g
_
down
Fires when the g key is pressed
g
_
up
Fires when the g key is released
h
_
down
Fires when the h key is pressed
h
_
up
Fires when the h key is released
i
_
down
Fires when the i key is pressed
i
_
up
Fires when the i key is released
j
_
down
Fires when the j key is pressed
j
_
up
Fires when the j key is released
k
_
down
Fires when the k key is pressed
k
_
up
Fires when the k key is released
l
_
down
Fires when the l key is pressed
l
_
up
Fires when the l key is released
m
_
down
Fires when the m key is pressed
m
_
up
Fires when the m key is released
n
_
down
Fires when the n key is pressed
n
_
up
Fires when the n key is released
o
_
down
Fires when the o key is pressed
o
_
up
Fires when the o key is released
p
_
down
Fires when the p key is pressed
p
_
up
Fires when the p key is released
q
_
down
Fires when the q key is pressed
q
_
up
Fires when the q key is released
r
_
down
Fires when the r key is pressed
r
_
up
Fires when the r key is released
s
_
down
Fires when the s key is pressed
s
_
up
Fires when the s key is released
t
_
down
Fires when the t key is pressed
t
_
up
Fires when the t key is released
u
_
down
Fires when the u key is pressed
u
_
up
Fires when the u key is released
v
_
down
Fires when the v key is pressed
v
_
up
Fires when the v key is released
w
_
down
Fires when the w key is pressed
w
_
up
Fires when the w key is released
x
_
down
Fires when the x key is pressed
x
_
up
Fires when the x key is released
y
_
down
Fires when the y key is pressed
y
_
up
Fires when the y key is released
z
_
down
Fires when the z key is pressed
z
_
up
Fires when the z key is released
back
_
down
Fires when the backspace key (delete on MacOS) is pressed
back
_
up
Fires when the backspace key (delete on MacOS) is released