scene.set_property method
set_property(self, key: str, value: object) -> None:
Sets a custom property to this object.
Properties are saved as strings
.
Parameters
-
key: str
property name.
-
value: object
property value.
Sets a custom property to this object.
Properties are saved as strings
.
property name.
property value.