KeyPressed (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Legend26
No edit summary
>Legend26
No edit summary
 
(No difference)

Latest revision as of 22:32, 20 August 2011

KeyPressed ( Instance key )
Description Fired after a key defined by the AddKey method is pressed.
Member of: [[RBX.lua.GuiService (Object)|GuiService]]


Example
game.GuiService.KeyPressed:connect(function(key)
print(key)
end)