stop input in progress

i have arleady created a bool that start from true… his name is “finito”