Skip to main content

Player::getTarget

Assigns the handle of locked-on melee target to *entity that you pass it. Returns false if no entity found.

Syntax

```js player.getTarget(entity); ```

Required Arguments

  • entity: Entity handle or object

Return value

  • Boolean

Example

```js // todo ```

See also