> For the complete documentation index, see [llms.txt](https://wiki.thescriptersguild.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.thescriptersguild.com/scripting/nodes/objects-filters/set-player-filter-on-object.md).

# Set Player Filter On Object

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-d0551ee3d54c2a4d72b5ea74ae4938e03a52ed07%2Fset-player-filter-on-object.png?alt=media)

## Description

Adds a filter to the Object that only allows the specified Player to interact with the object. If Inverted, the object cannot be interacted with by the Player; filters must be reapplied to objects that are respawned.

## Node Type

Nodes fall into two basic categories: Data and Execution. This node Executes a function directly in the node string.

## Inputs

| Input  | Type    | Required | Description                                                               |
| ------ | ------- | -------- | ------------------------------------------------------------------------- |
| Player | Player  | Yes      | Player to set filter for.                                                 |
| Object | Object  | Yes      | Object to set filter on for player.                                       |
| Invert | Boolean | Yes      | If TRUE, player cannot access object. If FALSE, player can access object. |

## Outputs

| Output | Type | Description |
| ------ | ---- | ----------- |
| (none) |      |             |

\
\
**Contributors**

AddiCt3d 2CHa0s
