MaxActivationDistance (Property)

From Goodblox Wiki
Jump to navigationJump to search
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.