You simply let the green blob follow your mouse!
This was copied off a youtube video called how to make agario on scratch.