ReGui
  • Introduction
  • Getting Started
    • Installing
    • Creating windows
  • Plugins
    • Custom elements
    • Custom flags
    • Custom themes
  • Examples
    • Demo window
    • Example scripts
  • Methods
  • ReGui functions
  • Canvas functions
  • Configuration saving
  • Elements
    • :Label
    • :Error
    • Code Editor
    • :Button
    • :SmallButton
    • :RadioButton
    • :Image
    • :VideoPlayer
    • :Checkbox
    • :Radiobox
    • :Viewport
    • :Console
    • :Region
    • :List
    • :CollapsingHeader
    • :TreeNode
    • :Separator
    • :Indent
    • :BulletText
    • :Bullet
    • :Row
    • :SliderInt
    • :SliderFloat
    • :SliderEnum
    • :SliderColor3
    • :SliderCFrame
    • :SliderProgress
    • :DragInt
    • :DragFloat
    • :DragColor3
    • :DragCFrame
    • :InputText
    • :InputTextMultiline
    • :InputInt
    • :InputColor3
    • :InputCFrame
    • :ProgressBar
    • :Combo
    • :Keybind
    • :PlotHistogram
    • :Table
    • :TabSelector
    • :Window
    • :TabsWindow
    • :PopupModal
Powered by GitBook
On this page

Canvas functions

These are functions for Canvases. A Canvas is the base Elements can be inserted into. For example, the :CreateWindow, :Row, and :CollapsingHeader all return a Canvas.

Function
Return type
Description

:ClearChildElements

Destroys all child elements

:GetChildElements

Array (table)

Returns an array of elements in the Canvas

:GetObject

Instance

Returns the real Object

:TagElements(Objects: ObjectTable)

Same as Window:TagElements

:SetElementFocused(Object: GuiObject, Data)

Disables interaction with all other elements when the object is focused

:Remove

Destroys the Canvas and all child elements

PreviousReGui functionsNextConfiguration saving

Last updated 2 months ago