Failsafe and FPV gimbal position

I want to setup a “Fail-Safe servo position” for my FPV gimbal. So if I loss signal the FPV will point forwards and NOT be stuck looking sideways.

Thank you

Can your flight controller handle a lua script?

You could expereriment with neutral and retract positions, not sure if it would work or not

The plane has a H743 MCU, that could run a scrip (It’s running LED’s). But now I just need a scrip I don’t know how to do that, maybe I could fine something.