Add cursor to 2d.