How can i halt a true or false statement for a certain amount of time?

Hello everyone. I’m trying to figure out how to do this attack function for my character. So I thought about making a true or false statement named movable for my character. If it’s false my Character can’t move. if it’s true my character can move.

But idk how I can make this Movable statement true or false for like 3 seconds or so. I’m thinking it has something to do with Time.delta time.

Any help would be appreciated! : )

The easiest way is to use coroutines.