Syntax
Lua |
---|
function Entity:RegisterForClickHandling(pcEntityElement); |
Parameters
- pcEntityElement
-
Type:
Control
Remarks
Call this function after creating a new Lua UI control and the system will automatically handle click-selection and right-clicking for you.