Changed function equivalent?

Back
freeb
Join Date:
Posts:
Oct 2024
4
1 month ago | 15 • By freeb

Does anyone know if there is an equivalent function in Polytoria for when an instance's value changes (for example I'm trying to get when the player moves)? I searched on the docs and only found "Changed" functions for UITextInput and ValueBase.


0
astronaut
Join Date:
Posts:
Dec 2020
368
1 month ago • By astronaut

Did you try using changed for the players position or like theyr x or z value or somethin it could work idk


freeb OP
Join Date:
Posts:
Oct 2024
4
1 month ago • By freeb OP
astronaut
astronaut 1 month ago
Did you try using changed for the players position or like theyr x or z value or somethin it could work idk

I actually did try that but it gave me the unable to access property or similar error


WaterMelon1
Join Date:
Posts:
Nov 2022
799
1 month ago • By WaterMelon1

there is no changed for player.


use a .rendered loop to check the player velocity or position