Camera.border readonly

widget only

This property is only available when the ui module is loaded before capture and Camera is used as a widget. Accessing it in object mode will raise an error.
Controls whether the Camera widget displays a border.
Returns true if the widget border is visible, false otherwise. Set to true to show the border or false to hide it.

Example

--! luart-extensions import ui, capture local win = ui.Window("Camera", "fixed", 640, 520) local cam = ui.Camera(win, 10, 10, 620, 460) -- Hide the widget border cam.border = false await win:showasync()