It’s called hypnopompic hallucination.
Unlike with sleep paralysis, you can move and talk while still seeing it and it will last a few seconds up to a minute which can seem like an eternity.
It usually fades as soon as you turn on the light, but for some very few people it does not and persists even after turning on the light.
Here’s an example of someone who often experiences these and has started recording themselves: https://youtu.be/bEMGZNvETMQ
Why YSK: because it’s very scary and unsettling when it happens and since you can move you don’t believe it’s sleep paralysis and can’t explain it. This might explain many of the “monster or spirit at the foot of my bed” sightings that we often hear mentioned in horror podcasts.
These are called hypnic jerks.
They were just asking a question there’s no need to call them that.