Can a rogue use Uncanny Dodge after being hit …

Can a rogue use Uncanny Dodge after being hit by trap that causes physical damage?

Can a rogue use uncanny dodge after being hit by trap that causes physical damage?yes, if you fulfill the requirements – key is ability to see attacker, would need to see mechanism — Mike Mearls (@mikemearls) May 22, 2018