Can I say "sitting" instead of "to sit?"

Native speaker’s answer
Rebecca
Yes, you can say "sitting" instead of "to sit" here! They both act as the object of the verb "like." Ex: We like to sit near the fountain. = We like sitting near the fountain. Ex: She prefers to sit by herself. = She prefers sitting by herself.