Put in new functions for click, hover, and cancel

Does not compile yet