have fun doing sth.开心地做某事
没有have fun to do sth结构.如:The kids are having fun playing in the park now.
那么就是listening了.