Unreal Python API: specific property is unreachable

Hi, I would like to use properties of lightcomponent:
max draw distance and max fade range , as the document clarified.


however, it sends me error message that the LightComponent has no such attribute.
Is it an error?

The “max_draw_distance” and lots of other properties of UObject are “Editor Properpty”, use “get_editor_property” and “set_editor_property” instand of “.”

your_point_light_comp.get_editor_property("max_draw_distance")
1 Like

Fantastic!!! Works so well!!! :joy: