Read Sprite Flags in Blocks

I’m trying to read the sprite flags state in blocks for example to know if sprite is set to Ghost or Invisible. Which is very useful.
The problem is that the code turns to Javascript and then the variable get changed
Screenshot_2021-01-28 Microsoft MakeCode Arcade
How to do it in blocks or I’m missing something since I know there is a way to set the flag but not to read…