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
  • »
  • UIElement

UIElement

Properties

Name Type Description
PositionVector3
absolutePositionVector3
ScaleVector3
RotationVector3
NameString
TextureIDNumber
isActiveBoolean
WidthNumber
HeightNumber

Functions

Name Returns Description
AnchorToTopVoid
AnchorToBottomVoid
AnchorToLeftVoid
AnchorToRightVoid
AnchorToTopLeftVoid
AnchorToTopRightVoid
AnchorToBottomLeftVoid
AnchorToBottomRightVoid
DeleteVoid
SetParentVoid
AddChildVoid
SetOpacityVoid
RotateVoid
SetActiveVoid

Events

Name Description
OnClickFired when the UI element is clicked
OnHoverEnterFired when the mouse enters the UI element
OnHoverExitFired when the mouse exits the UI element