The infinitive in this sentenced is a GERUND, which means its function is to represent the act of, it is technically a noun, as it is the act of playing.
9.5m questions
12.2m answers