Collapse Sidebar




This property serves as a reference to the LocalizationTable used to apply automated localization to the ProximityPrompt’s ProximityPrompt/ActionText and ProximityPrompt/ObjectText. In order for this to appy, ProximityPrompt/AutoLocalize must be set.

Developers can set this to reference a LocalizationTable anywhere in the DataModel. It is not required to be a child of LocalizationService. If there is no translation available in the referenced table it will look for a translation in the parent of that table, if it is also a LocalizationTable, and so on.

Code Samples

Generating a Custom Proximity Prompt

The example below generates a custom ProximityPrompt UI similar to the default style, which you may use as a starting point. It should be used in a LocalScript.