why can’t i change textbutton position in a simulation callback??
1 Like
Here’s the reason from the docs:
Simulation Access
Many properties and methods in the engine API reference include the Simulation Access label, for example BasePart.CFrame. Properties with this label will be predicted by the server authority system. Additionally, only properties and methods with this label can be accessed inside functions bound with RunService:BindToSimulation().
To be clear, the Position property of a GuiObject class (ex. Frame, TextButton, TextLabel) does not have the “Simulation Access” label. You’ll need to update this property outside of a function bound via BindToSimulation.
4 Likes
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
