Oh, if you don’t have space to whack at a pinata you can still do them. Use a box, a computer paper box with a lid works great. You hang the box, top down so punch an hole for a hanger in the bottom of the box.
Punch holes around the sides from the lid to the sides of the box and use toggles/buttons to hold the lid on. Attach string to the toggles and give each kid one to pull when it’s time.