findPlayer()
function findPlayer(frame, player):
| MetricaTrackedPlayer
| undefined;Defined in: packages/data-providers/src/metrica/select.ts:75
One player's position in a frame, or undefined if they aren't on the
pitch in it. Takes the same spelling as an event's From and To, so
findPlayer(frame, pass.To) places the receiver.
Parameters
| Parameter | Type |
|---|---|
frame | MetricaFrame |
player | string | null |
Returns
| MetricaTrackedPlayer
| undefined