scene.on_property_changed method
on_property_changed(self, id: str, handler: Callable[[t: str], None]) -> None:
Handles property value changes in this object.
Parameters
-
id: str
property to listen to.
-
handler: Callable[[t: str], None]
function that's called when property value is changed.