Skip to content
Roblox API Reference

Flag

Deprecated: The Flag and FlagStand objects were created to allow developers to make 'capture the flag' style games quickly. However they have been deprecated and developers are advised to design their own systems which will be more flexible and reliable.
The Flag object helps you make 'capture the flag' style games.
  • Deprecated
Memory category
BaseParts
Own members
1
Inherited members
133
Subclasses
0
Siblings
1

Properties52

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Inherited fromPVInstance2

Property categoryPivot

  • Editor-only property that displays and edits the pivot's CFrame relative to the instance, moving only the pivot and leaving the instance in place.
    • Not replicated
    • Not scriptable

Property categoryTransform

  • Editor-only property that reads and sets the world CFrame of the PVInstance's pivot, moving the entire instance when changed from the Studio Properties window.
    • Not replicated
    • Not scriptable
Inherited fromModel14

Property categoryAppearance

Property categoryBehavior

Property categoryData

Property categoryPivot

Inherited fromBackpackItem2

Property categoryData

Inherited fromTool10

Property categoryAppearance

  • Controls the message displayed when the player's mouse hovers over the tool in their backpack.
    • Read capabilities: Input

Property categoryBehavior

Property categoryState

  • Relates to whether or not the tool can be used.
    • Read capabilities: Input
    • Simulation access

Property categoryTransform

  • Tool.Grip: CFrame = CFrame.identity
    Stores the tool's "grip" properties as one CFrame.
    • Read capabilities: Input
    • Simulation access
  • Tool.GripForward: Vector3 = Vector3.new(-0, -0, -1)
    Represents the R02, R12, and R22 values of the grip CFrame rotation matrix.
    • Hidden
    • Not replicated
    • Read capabilities: Input
  • The positional offset of the tool's weld matrix.
    • Hidden
    • Not replicated
    • Read capabilities: Input
  • Tool.GripRight: Vector3 = Vector3.new(1, 0, 0)
    Represents the R00, R10, and R20 values of the grip CFrame rotation matrix.
    • Hidden
    • Not replicated
    • Read capabilities: Input
  • Tool.GripUp: Vector3 = Vector3.new(0, 1, 0)
    Represents the R01, R11, and R21 values of the grip CFrame rotation matrix.
    • Hidden
    • Not replicated
    • Read capabilities: Input
Defined byFlag1

Property categoryData

  • Flag.TeamColor: BrickColor
    The Team this flag is for. Corresponds with the TeamColors in the Teams service.
    • Read capabilities: Basic + Input

Methods67

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
Inherited fromPVInstance2
Inherited fromModel21
Inherited fromTool2

Events15

Inherited fromObject1
Inherited fromInstance9
Inherited fromTool5