<node3d:GUI>.getFocus

Returns whether the item has input focus.

 

<node3d:GUI>.getFocus()

 

Remarks

This command will return true if setFocus(viz.ON) has been called or if the object is in focus because of another action such as a mouse click.

Return Value

True/False

See also

<node3d:GUI>.setFocus