MaxActivationDistance (Property)

From Goodblox Wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Property
Name MaxActivationDistance
Property Float maxActivationDistance
Description: Maximum distance between a character and the ClickDetector for the character to be able to click it.
In Object: ClickDetector


Example

workspace.Button.ClickDetector.MaxActivationDistance = 15 --You will not be able to click this button further then 15 studs away.