There is a boy playing basketball.中,playing basketball做状语还是定语,怎么判断?

问题描述:

There is a boy playing basketball.中,playing basketball做状语还是定语,怎么判断?

作定语.
还原成定语从句:
There is a boy who is playing basketball.