Thank you! I've seen so many games with similar features, but I've never been able to work out how to do it myself.