# sam.Player.can\_target

> #### [**bool**](https://wiki.facepunch.com/gmod/boolean) sam.Player.can\_target( [player](https://wiki.facepunch.com/gmod/player) ply, [player](https://wiki.facepunch.com/gmod/player) target )

## Description

Returns if a player can target another player or not.

## Aguments

1. #### [player](https://wiki.facepunch.com/gmod/player) ply
2. #### [player](https://wiki.facepunch.com/gmod/player) target

## Returns

1. #### [**bool**](https://wiki.facepunch.com/gmod/boolean)
