Skip to content
Roblox API Reference

Beam

Connects two Attachments by drawing a texture between them.
Memory category
Instances
Own members
22
Inherited members
75
Subclasses
0
Siblings
608

Properties44

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Defined byBeam21

Property categoryAppearance

  • Beam.Brightness: number = 1
    Scales the light emitted from the beam when LightInfluence is less than 1.
    • Read capabilities: Basic
  • Beam.Color: ColorSequence = 0 1 1 1 0 1 1 1 1 0
    Determines the color of the beam across its Segments.
    • Read capabilities: Basic
  • Beam.Enabled: boolean = true
    Determines whether the beam is visible or not.
    • Read capabilities: Basic
  • Beam.LightEmission: number = 0
    Determines to what degree the colors of the beam are blended with the colors behind it.
    • Read capabilities: Basic
  • Beam.LightInfluence: number = 0
    Determines the degree to which the beam is influenced by the environment's lighting.
    • Read capabilities: Basic
  • Beam.LocalTransparencyModifier: number = 0
    Determines a multiplier for Beam.Transparency that is only visible to the local client.
    • Hidden
    • Not replicated
    • Read capabilities: Basic
  • Beam.Texture: string = ""
    The content ID of the texture to be displayed on the beam.
    • Read capabilities: Basic
  • Beam.TextureContent: Content
    The texture displayed on the beam. Supports asset URIs (opens in a new tab).
    • Capabilities: Basic
  • Beam.TextureLength: number = 1
    Sets the length of the beam's texture, dependent on TextureMode.
    • Read capabilities: Basic
  • Determines the manner in which the Texture scales and repeats.
    • Read capabilities: Basic
  • Beam.TextureSpeed: number = 1
    Determines the speed at which the Texture image moves along the beam.
    • Read capabilities: Basic
  • Beam.Transparency: NumberSequence = 0 0.5 0 1 0.5 0
    Determines the transparency of the beam across its segments.
    • Read capabilities: Basic
  • Beam.ZOffset: number = 0
    The distance, in studs, the beam display is offset relative to the CurrentCamera.
    • Read capabilities: Basic

Property categoryShape

  • Beam.Attachment0: Attachment
    The Attachment the beam originates from.
    • Read capabilities: Basic
  • Beam.Attachment1: Attachment
    The Attachment the beam ends at.
    • Read capabilities: Basic
  • Beam.CurveSize0: number = 0
    Determines, along with Attachment0, the position of the second control point in the beam's Bézier curve.
    • Read capabilities: Basic
  • Beam.CurveSize1: number = 0
    Determines, along with Attachment1, the position of the third control point in the beam's Bézier curve.
    • Read capabilities: Basic
  • Beam.FaceCamera: boolean = false
    Determines whether the Segments of the beam will always face the camera, regardless of its orientation.
    • Read capabilities: Basic
  • Beam.Segments: number = 10
    Sets how many straight segments the beam is made up of.
    • Read capabilities: Basic
  • Beam.Width0: number = 1
    The width of the beam at its origin (Attachment0), in studs.
    • Read capabilities: Basic
  • Beam.Width1: number = 1
    The width of the beam at its end (Attachment1), in studs.
    • Read capabilities: Basic

Methods43

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39
Defined byBeam1
  • Beam:SetTextureOffset(offset: number? = 0)
    Sets the current offset of the beam's texture cycle.
    • Capabilities: Basic
    Parameters
    ParameterDescription
    offset: number? = 0
    The desired offset of the texture cycle.

Events10

Inherited fromObject1
Inherited fromInstance9