What touching is considered friendly and what is considered flirting?

How can i differentiate between them when a girl touches me?

some factors that i think play a role:

1. Area that she touches

2. duration

3. how long you have known the girl.

What touching is considered friendly and what is considered flirting?
Post Opinion