Could you ready the action: If an enemy attacks me then, once they've attacked, I will attempt to knock them prone.
If so it could be used if the distance between you and an enemy was too far to cross in one move, moving to 30 feet from them. Readying this action would give you advantage on your next attack, if successful, because the target would still be prone (not having had their turn yet to stand back up).