extends Instance
Class fields
| Field | XML type | Value |
|---|---|---|
Name | string | ProximityPrompt |
Properties
14ActionText
string| Field | XML type | Value |
|---|---|---|
Name | string | ActionText |
AutoLocalize
bool| Field | XML type | Value |
|---|---|---|
Name | string | AutoLocalize |
ClickablePrompt
bool| Field | XML type | Value |
|---|---|---|
Name | string | ClickablePrompt |
Enabled
bool| Field | XML type | Value |
|---|---|---|
Name | string | Enabled |
Exclusivity
ProximityPromptExclusivity| Field | XML type | Value |
|---|---|---|
Name | string | Exclusivity |
GamepadKeyCode
Object| Field | XML type | Value |
|---|---|---|
Name | string | GamepadKeyCode |
HoldDuration
float| Field | XML type | Value |
|---|---|---|
Name | string | HoldDuration |
KeyboardKeyCode
Object| Field | XML type | Value |
|---|---|---|
Name | string | KeyboardKeyCode |
MaxActivationDistance
float| Field | XML type | Value |
|---|---|---|
Name | string | MaxActivationDistance |
ObjectText
string| Field | XML type | Value |
|---|---|---|
Name | string | ObjectText |
RequiresLineOfSight
bool| Field | XML type | Value |
|---|---|---|
Name | string | RequiresLineOfSight |
RootLocalizationTable
Object| Field | XML type | Value |
|---|---|---|
Name | string | RootLocalizationTable |
Style
ProximityPromptStyle| Field | XML type | Value |
|---|---|---|
Name | string | Style |
UIOffset
Vector2| Field | XML type | Value |
|---|---|---|
Name | string | UIOffset |
Functions
2InputHoldBegin
() → void| Field | XML type | Value |
|---|---|---|
Name | string | InputHoldBegin |
InputHoldEnd
() → void| Field | XML type | Value |
|---|---|---|
Name | string | InputHoldEnd |
Events
6PromptButtonHoldBegan
(playerWhoTriggered: Instance) → void| Field | XML type | Value |
|---|---|---|
Name | string | PromptButtonHoldBegan |
PromptButtonHoldEnded
(playerWhoTriggered: Instance) → void| Field | XML type | Value |
|---|---|---|
Name | string | PromptButtonHoldEnded |
PromptShown
(inputType: ProximityPromptInputType) → void| Field | XML type | Value |
|---|---|---|
Name | string | PromptShown |
TriggerEnded
(playerWhoTriggered: Instance) → void| Field | XML type | Value |
|---|---|---|
Name | string | TriggerEnded |
Triggered
(playerWhoTriggered: Instance) → void| Field | XML type | Value |
|---|---|---|
Name | string | Triggered |