I like to use callback functions for sprites. See attached.