Reference API Roblox

Engine API

Website

Related

Reference API Roblox

ReflectionMetadataItem

Acts as abstract properties for generic information about Classes, Members, Enums, and EnumItems.

This class is not creatable. Instances of this class cannot be created with Instance.new.
Tags: [NotCreatable]

Member index 16

HistoryMember
553Browsable: bool
553ClassCategory: string
553ClientOnly: bool
553Constraint: string
553Deprecated: bool
553EditingDisabled: bool
553EditorType: string
553FFlag: string
553IsBackend: bool
553PropertyOrder: int
553ScriptContext: string
553ServerOnly: bool
553SliderScaling: string
553UIMaximum: double
553UIMinimum: double
553UINumTicks: double
inherited from Instance
553Archivable: bool
670Capabilities: SecurityCapabilities
723IsInSandbox: bool
553Name: string
553Parent: Instance
702PredictionMode: PredictionMode
670Sandboxed: bool
680UniqueId: UniqueId
576AddTag(tag: string): null
573ClearAllChildren(): null
462Clone(): Instance
573Destroy(): null
486FindFirstAncestor(name: string): Instance
486FindFirstAncestorOfClass(className: string): Instance
486FindFirstAncestorWhichIsA(className: string): Instance
486FindFirstChild(name: string, recursive: bool = false): Instance
486FindFirstChildOfClass(className: string): Instance
486FindFirstChildWhichIsA(className: string, recursive: bool = false): Instance
486FindFirstDescendant(name: string): Instance
563GetActor(): Actor
486GetAttribute(attribute: string): Variant
462GetAttributeChangedSignal(attribute: string): RBXScriptSignal
631GetAttributes(): Dictionary
648GetChildren(): Instances
462GetDebugId(scopeLength: int = 4): string
707GetDescendants(): Instances
486GetFullName(): string
706GetStyled(name: string, selector: string?): Variant
657GetStyledPropertyChangedSignal(property: string): RBXScriptSignal
576GetTags(): Array
576HasTag(tag: string): bool
486IsAncestorOf(descendant: Instance): bool
486IsDescendantOf(ancestor: Instance): bool
664IsPropertyModified(property: string): bool
698QueryDescendants(selector: string): Instances
573Remove(): null
576RemoveTag(tag: string): null
664ResetPropertyToDefault(property: string): null
573SetAttribute(attribute: string, value: Variant): null
462WaitForChild(childName: string, timeOut: double): Instance
648children(): Instances
553clone(): Instance
573destroy(): null
553findFirstChild(name: string, recursive: bool = false): Instance
648getChildren(): Instances
553isDescendantOf(ancestor: Instance): bool
573remove(): null
462AncestryChanged(child: Instance, parent: Instance)
462AttributeChanged(attribute: string)
462ChildAdded(child: Instance)
462ChildRemoved(child: Instance)
462DescendantAdded(descendant: Instance)
462DescendantRemoving(descendant: Instance)
500Destroying()
657StyledPropertiesChanged()
553childAdded(child: Instance)
inherited from Object
647ClassName: string
647className: string
647GetPropertyChangedSignal(property: string): RBXScriptSignal
647IsA(className: string): bool
650isA(className: string): bool
647Changed(property: string)

Removed member index 2

HistoryMember
79Preliminary: bool
486summary: string

Description

Acts as abstract properties for generic information about Classes, Members, Enums, and EnumItems.

History 70

Members 16

Browsable

TypeDefault
bool

When this value is true, it means that this property/class can be seen in Studio, e.g. in the explorer.

History 4

ClassCategory

TypeDefault
string

The category name used to group this class in Studio's Insert Object window. When set, the class is listed under a heading matching this category; when left at its default empty string, the class is grouped under "Uncategorized". This applies to class-level reflection metadata and has no effect on individual members.

History 6

ClientOnly

TypeDefault
bool

When this value is true, this reflection item is only meaningful on the client and shouldn't be read or set on the server. Defaults to false.

History 4

Constraint

TypeDefault
string

Describes a constraint for a single-argument function whose argument type is a Object.ClassName. Currently there are two constraints available:

ConstraintDescription
isScriptCreatableThe specified class must be creatable with Instance.new
isServiceThe specified class must be a service.

History 4

Deprecated

TypeDefault
bool

When an object is deprecated, it should not be used anymore for new scripts.

History 4

EditingDisabled

TypeDefault
bool

When this value is true, the property is shown as read-only in Studio's Properties window: its value is still displayed but cannot be edited there. Defaults to false, in which case the property can be edited normally.

History 4

EditorType

TypeDefault
string

Identifies the specialized editor used to display and edit this property in Studio's Properties window. Defaults to an empty string, in which case the default editor for the property's value type is used.

History 2

FFlag

TypeDefault
string

Names a Studio setting whose state controls whether this item is browsable. When set, the item is hidden unless that setting is on; prefixing the name with ! inverts this. Defaults to an empty string, in which case visibility is governed only by ReflectionMetadataItem.Browsable.

History 3

IsBackend

TypeDefault
bool

This should determine if a method needs to use stuff on the Roblox main servers. This property isn't applied where it should be, though.

History 6

PropertyOrder

TypeDefault
int

Controls where this property appears relative to others in its category in the Properties window; lower values appear higher. Defaults to 5000, which leaves room to order properties before or after those that have no explicit order.

History 3

ScriptContext

TypeDefault
string

Describes the context where this member can be used. If set to "Server", this member will not be available to auto fill when editing a LocalScript. If set to "Client", this member will not be available to auto fill when editing a Script.

History 4

ServerOnly

TypeDefault
bool

When this value is true, this reflection item is only meaningful on game servers and shouldn't be read or set on the client. Defaults to false.

History 4

SliderScaling

TypeDefault
string

Determines how the Properties-window slider maps tick positions to values between ReflectionMetadataItem.UIMinimum and ReflectionMetadataItem.UIMaximum. When set to "Square", the slider uses a quadratic mapping so that ticks near the minimum give finer control; any other value, including the default empty string, uses a linear mapping. The slider only takes effect when its range is configured through ReflectionMetadataItem.UIMinimum, ReflectionMetadataItem.UIMaximum, and ReflectionMetadataItem.UINumTicks, which all default to 0.

History 2

UIMaximum

TypeDefault
double

The upper bound of the slider shown for this numeric property in Studio's Properties window, used together with ReflectionMetadataItem.UIMinimum. Both default to 0, and Studio only shows a slider when the minimum and maximum differ; with the default values the property is edited through a plain input field with no slider.

History 4

UIMinimum

TypeDefault
double

The lower bound of the slider shown for this numeric property in Studio's Properties window, used together with ReflectionMetadataItem.UIMaximum. Both default to 0, and Studio only shows a slider when the minimum and maximum differ; with the default values the property is edited through a plain input field with no slider.

History 4

UINumTicks

TypeDefault
double

The number of discrete tick positions on this property's Properties-window slider, mapping each tick to a value between ReflectionMetadataItem.UIMinimum and ReflectionMetadataItem.UIMaximum. Defaults to 0, in which case Studio substitutes a built-in default number of intervals. It only takes effect when the slider is active, which requires ReflectionMetadataItem.UIMinimum and ReflectionMetadataItem.UIMaximum to be set to different values.

History 4

Removed members 2

Preliminary

TypeDefault
bool

History 4

summary

TypeDefault
string

History 3

Settings