How to detect if status bar open?

i want to make an app to detect if the status bar is open by the user

Try Like This

blocks - 2022-03-09T202529.023

Since you are asking for exam purpose, you can use it in clock component.

Set clock to timer always and set interval for 5sec(5000)

When clock timer
Add the above code and design the block according to your needs

This post was flagged by the community and is temporarily hidden.

it’s just not working

Show us what hat have you tried

i want when the user slides his hand to the status bar then kodular will detect it