# IScriptRayTrace.getEntity [← IScriptRayTrace](index.md) · [← Master](../../wiki.md) getEntity() IScriptEntity Get entity that was captured by this ray trace result (it can be null).