Beta Documentation - Subject to change.

Sets a flag indicating if the control wants to receive key events.

Syntax

Lua
function Control:SetWantsKeyEvents(value);

Parameters

value
Type: boolean
True if the control wants to receive key events.

Remarks

Sets a flag indicating if the control wants to receive key events.

See Also