Yeah, you can use Boolean instead, but its a same thing won't make any difference to the logic.
I am used to writing in C where there is no Boolean operand that's why I used 0,1 logic.
ooh i see, can i request one more , if three sprite in the same position ? can you make again please?