Create Cursor, Cueball, Code