nanos world API Reference Unofficial documentation
Function Client Fast

Widget:SetFocus

Enables the focus on this Widget (i.e. can receive Keyboard input and will trigger input events<br/>Note: Only one Widget can have focus per time.

Syntax

Lua
my_widget:SetFocus()