Files
Basalt2/docs/references/elements/Frame.md
2025-02-25 22:29:26 +00:00

27 lines
726 B
Markdown

# Frame : Container
This is the frame class. It serves as a grouping container for other elements.
## Properties
|Property|Type|Default|Description|
|---|---|---|---|
|draggable|boolean|false|Whether the frame is draggable
|draggingMap|table|{{x=1,|y=1, width="width", height=1}} The map of dragging positions
## Functions
|Method|Returns|Description|
|---|---|---|
## Protected Functions
|Method|Returns|Description|
|---|---|---|
|[Frame:init](#Frame:init)|Frame|Initializes the Frame instance
|[Frame:mouse_click](#Frame:mouse_click)|boolean|Handles mouse click events
|[Frame:mouse_drag](#Frame:mouse_drag)|boolean|Handles mouse drag events
|[Frame:mouse_up](#Frame:mouse_up)|boolean|Handles mouse release events