If she refrains from hugging you back, she may be uncomfortable or uninterested and you should hold back.
Keep in mind that this might be a little too subtle and she may not even notice.
Use your surroundings to give reason for contact. For example, if you see a dog or other animal at a distance, touch her back and say something along the lines of “Look over there!”[3] X Research source
You can also do this if you are trying to get her attention. Simply tap her leg and say, “Hey, I just wanted to tell you…” or ask her a question.
If she has followed along up until this point and now stops you or seems hesitant, she may just like you as a friend.
Keep in mind that some people just don’t like tickling, and this might not be an accurate reflection of her opinion of you.