How to rotate light object?

It’s light object. I create the triangle as a texture