SetKeyUp (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy pretty whitespace |
>SCARFACIAL No edit summary |
||
Line 1: | Line 1: | ||
{{locked}} | |||
<onlyinclude>{{Method | <onlyinclude>{{Method | ||
|name = SetKeyUp | |name = SetKeyUp |
Revision as of 16:07, 27 July 2011
Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
![]() | |
Returns | nil |
Description: | Simulates a release of a button on a given keyboard. |
Member of: | VirtualUser |
Example
local VU = game:GetService("VirtualUser") --Using the GetService method on an instanceable service will create one if it does not exist already and it places it in its' proper location within game. VU:SetKeyUp("a") --Sets the letter "a" in this case to be looked upon as not being pressed or up.
Limitations
- Currently this method is locked and of no use.