Dynamic rollout - variable visibility problem


I have to build a project based on a floater including a head rollout (static) followed by a dynamic rollout (displayed after a specific action) and a last foot rollout (static)

The first lauch crashes because my main floater variable is not recognise by my function which updates the rollouts. The second launch is ok since my variable exists for the function.

I tried many attempts to fix this skeleton before to go further without any success.

If someone has a suggestion or a better solution. I am not programmer so I don't know the best way to achieve this, just made this from offline help.

See attached .ms file

Thanks a lot

dynaRollout.ms.txt3.04 KB