moveBarLevel - how to get any value in the simulator?

This question was asked many years ago.

But seems with simulator updates old suggestions doesn't work.

All the time in the simulator I got 0.

How to simulate?

Thank you!