---
url: https://cri-middleware.github.io/SSPlayerForWeb/api/@spritestudio/ssplayer-pixi/functions/composeMaskInfluence.md
---
# Function: composeMaskInfluence()

> **composeMaskInfluence**(`callerInfluence`, `partFlags`): `boolean`

Defined in: packages/ssplayer-core/dist/index.d.ts:5219

AND-compose a part's `mask_influence` with what its instance part handed
down (`ROOT_MASK_INFLUENCE` at the root). This is both whether the part is a
mask target and, for a writer, which op it writes with (true = invert).

## Parameters

### callerInfluence

`boolean`

### partFlags

`number`

## Returns

`boolean`
