Qué vai querendo (passa a mão no chão e sai correndo) - You want it, keep on wanting it (swipe your hand to the floor and run)
A commonly used phrase used by parents when their offspring are getting whiny/throwing tantrums over wanting something.
The second part (the one about swiping the floor) is just because it rhymes. Like rhyming slang except that it’s not slang…
Literally, “You want it, go [on] wanting (pass/swipe your hand on the floor and exit/go running)