I am not very sure what the modifier is modifying in the following cases. Can anyone help me out?
1. I greeted the boy, playing basketball.
Who is playing basketball? The boy or myself? I think this sentence is grammatically correct but ambiguous. Am I correct? If I am playing basketball, how about the following one?
2. I greeted the boy, playing basketball, but he didn't see me.
Is it still me playing basketball? Thanks.