Why can I not rotate directional light from blueprint?

Why doesn’t this work?

I have checked and confirmed that it’s getting the directional light correctly with the get node, for instance this works:

But I cannot find any way to control the directional light rotation through blueprint.

But it does :slight_smile:

sun

:thinking:

Why isn’t it working for me?

I tried imitating your code exactly and it does not move.

Just to check, can I see the timeline?

Did you enable input on the blueprint?

Yeah input is on, if i put a print at the end after the set actor rotation it’ll spam the print just fine.

Here’s the timeline.

Ok, are you trying it in a standard map, standard lighting etc?

I created a new map with basically nothing in it, and used place actor to add the directional light, anyhow I solved (?) it.

To fix it I went to the default third person map, copied the directional light from there and pasted it to the new map and then it works :thinking:

Thanks for your help, although I am still quite curious why it wasn’t working with the place actor one.

Ah I figured it out!

By default it’s mobility is set to stationary, setting it to movable fixed the issue :sweat_smile:
24-07-142

Ah…