I am creating a tetris game and the function that moves a piece is going wrong (even though it perfectly makes sense. Here is the code for the function (p1-4 are the parts the piece consists of):
    
    /** Moves the piece one space down. */
    method void move() {
        do p3.move();
        do p4.move();
        do p2.move();
        do p1.move();
        return;
    }
    
    And here is the code for Block.move() (p1-4 is a block):
    
    /** Moves block one space down. */
    method void move() {
        do clear();
        let y = y+16;
        do draw();
        return;
    }
    
    Where clear() fills the block with white, y is the y position, and draw() draws the block.
    I don't see any errors. Can someone help? 😕