Skip to content
Roblox API Reference

MarkerCurve

Represents a list of strings markers in chronological order.
Memory category
Instances
Own members
6
Inherited members
75
Subclasses
0
Siblings
608

Properties25

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Defined byMarkerCurve2

Property categoryData

  • MarkerCurve.Length: number = 0
    Returns the number of markers in the MarkerCurve.
    • Read only
    • Read capabilities: Animation
    • Save only
  • MarkerCurve.ValuesAndTimes: string = "\u0002"
    • Hidden
    • Not scriptable
    • Read capabilities: Animation

Methods46

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 byMarkerCurve4
  • MarkerCurve:GetMarkerAtIndex(index: number): { [string]: any }
    Returns the time and string value of the marker at the provided index.
    • Capabilities: Animation
    Parameters
    ParameterDescription
    index: number
    One-based index of the marker to retrieve, ordered chronologically. Must be within range or the call throws.
    Returns
    TypeDescription
    { [string]: any }
    A table containing the time and value of the marker at the provided index.
  • MarkerCurve:GetMarkers(): { any }
    Returns the time and string value of all markers in the MarkerCurve.
    • Capabilities: Animation
    Returns
    TypeDescription
    { any }
    An array of tables containing the time and value of all markers in the MarkerCurve.
  • MarkerCurve:InsertMarkerAtTime(time: number, marker: string): { any }
    Inserts a marker with the provided string value at the provided time.
    • Capabilities: Animation
    Parameters
    ParameterDescription
    time: number
    Time at which the marker should be added.
    marker: string
    String value associated with this marker.
    Returns
    TypeDescription
    { any }
    A table containing a boolean and a number. The boolean is true if the call adds a new marker and false if it modifies an existing marker at the provided time. The number is the index of the added marker.
  • MarkerCurve:RemoveMarkerAtIndex(startingIndex: number,count: number? = 1,): number
    Remove several markers in the MarkerCurve starting at the provided index.
    • Capabilities: Animation
    Parameters
    ParameterDescription
    startingIndex: number
    Index of the first marker to be removed in the MarkerCurve.
    count: number? = 1
    How many markers to remove starting from the startingIndex.
    Returns
    TypeDescription
    number
    How many markers were actually removed (can be less than count if the MarkerCurve was too few markers).

Events10

Inherited fromObject1
Inherited fromInstance9