Create a new sprite with codes

ok, I actually didn't know that, and I tested it out.