# HitSplats Find and read hitsplats on the screen. ```{figure} ../../images/hitsplats.png ``` At the moment only your hitsplats are supported, tinted ones by other players or NPCs are not. - - - ## ERSHitSplat ```pascal ERSHitSplat = enum(BLUE, RED, MAX); ``` Enum representing the main hitsplat colors. - - - ## TRSHitSplat Hitsplat record that holds the methods used to find hitsplats. - - - ## TRSHitSplat.Find ```pascal function TRSHitSplat.Find(out splats: TRSHitSplatArray; areas: TBoxArray): Boolean; static; function TRSHitSplat.Find(out splats: TRSHitSplatArray; areas: TPolygonArray): Boolean; static; overload; function TRSHitSplat.Find(out splats: TRSHitSplatArray; areas: TCuboidArray): Boolean; static; overload; function TRSHitSplat.Find(out splats: TRSHitSplatArray): Boolean; static; overload; ``` Attempts to find hitsplats on the given `area` a {ref}`TColorFinder`. If `area` is not specified, {ref}`MainScreen` Bounds are used. The function returns true if we find at least one hitsplat and found splats are returned via `splats`.