BrickPlanet Developer API

    Classes

  • Data
    • Game
    • Leaderboard
    • Players
    • ServerStorage
    • Workspace
    • Dynamic
    • Hat
    • Mesh
    • Model
    • MouseDetector
    • Player
    • RemoteData
    • Tool
    • CData
    • Camera
    • Chat
    • InputSystem
    • MathExt
    • PartColor
    • PlayerBody
    • PlayerMouse
    • Ray
    • Region3
    • Vector3
  • Lighting
    • Lighting
    • PointLight
  • Effects
    • Scenery
    • Particles
    • Sound
    • Text3D
    • ParticlesEmissionModule
    • ParticlesLightsModule
    • ParticlesMainModule
    • ParticlesShapeModule
    • ParticlesTrailsModule
    • UI
    • UI Background
    • UI Button
    • UI Checkbox
    • UI Dropdown
    • UI Input field
    • UI Layout
    • UI Horizontal Layout
    • UI Vertical Layout
    • UI Slider
    • UI Text
    • UIElement
  • Constraints
    • Hinge
    • Weld
  • Scripting
    • LocalScript
    • ServerScript
  • Construction
    • Part
    • Truss
    • VehicleSeat
  • Tutorials
    • Scripted Gun tutorial
  • Scripting Forum
  • Updates Log

You are in:

  • Effects
  • »
  • UI Button

UI Button

Properties

Name Type Description
TextString
TextColorPartColor
ButtonColorPartColor
InteractableBoolean
Inherited from UIElement Position absolutePosition Scale Rotation Name TextureID isActive Width Height

Functions

Name Returns Description
Inherited from UIElement AnchorToTop AnchorToBottom AnchorToLeft AnchorToRight AnchorToTopLeft AnchorToTopRight AnchorToBottomLeft AnchorToBottomRight Delete SetParent AddChild SetOpacity Rotate SetActive

Events

Name Description
PressedFired when button is pressed