to my hearts content

To my hearts content is a common idiom which means that if you do something that is enjoyable to your hearts content, you will do it as much as you want to. Most often, this phrase is said to someone who is asked if they may do something, such as playing a certain type of game, or another form of entertainment. In response, you might tell them to do it to their hearts content.