Files
Basalt/docs/objects/Object/onLoseFocus.md
Robert Jelic ab72f244ed Updated some formatting
Updated formatting for object
2022-10-20 21:05:29 +02:00

21 lines
364 B
Markdown

# Object - Event
## onLoseFocus
`onLoseFocus(self)`
This event gets triggered as soon as the object loses its focus.
```lua
local basalt = require("basalt")
local main = basalt.createFrame()
local aButton = main:addButton()
:setPosition(3,3)
:onLoseFocus(
function(self)
basalt.debug("Please come back...")
end
)
```