> For the complete documentation index, see [llms.txt](https://eaglepb2.gitbook.io/pb2-editor-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://eaglepb2.gitbook.io/pb2-editor-manual/tables/trigger/decoration.md).

# Decoration

Every trigger action related to decorations.

{% hint style="info" %}
Last updated: 2024/1/9
{% endhint %}

Here is the list of tables which are related to decoration category:

<table><thead><tr><th width="79" align="center">ID</th><th width="177">Display Name</th><th width="228">Explanations</th><th align="center">Parameter A</th><th align="center">Parameter B</th></tr></thead><tbody><tr><td align="center">34</td><td>Change model of decoration 'A' to model named 'B'.</td><td>Self-explanatory.</td><td align="center">Decor</td><td align="center">Selector</td></tr><tr><td align="center">231</td><td>Set text placeholder decoration text</td><td>the placeholder text can only be visible when decor 'A' model is set to placeholder.</td><td align="center">Decor</td><td align="center">String</td></tr><tr><td align="center">232</td><td>Set decoration HEX color multiplier</td><td>Changing the color “B” of decoration “A”.</td><td align="center">Decor</td><td align="center">Value<br>(Hex)</td></tr><tr><td align="center">233</td><td>Set decoration scale to value 'B'</td><td>How big is your decoration?</td><td align="center">Decor</td><td align="center">Value</td></tr><tr><td align="center">234</td><td>Set decoration scale to value of variable 'B'</td><td>Same as above, but relies on variable ‘A’</td><td align="center">Decor</td><td align="center">String</td></tr><tr><td align="center">252</td><td>Rotate decoration to angle-value of variable 'B' (in degrees)</td><td>Same as 253, but the value is grab from variables.</td><td align="center">Decor</td><td align="center">Var<br>(float)</td></tr><tr><td align="center">253</td><td>Rotate decoration to angle-value 'B' (in degrees)</td><td>Rotate the decoration in given value ‘B’, measured by degrees</td><td align="center">Decor</td><td align="center">Float<br>(Degrees)</td></tr><tr><td align="center">257</td><td>Rotate decoration to angle-value of variable 'B' (in radians)</td><td>Same as 258, but the value is grab from variables.</td><td align="center">Decor</td><td align="center">Var<br>(float)</td></tr><tr><td align="center">258</td><td>Rotate decoration to angle-value 'B' (in radians)</td><td>Same as 253, but measured in radians.</td><td align="center">Decor</td><td align="center">Float<br>(Radians)</td></tr><tr><td align="center">267</td><td>Set decoration X scale to value 'B'</td><td>Making decoration 'A' wider/thinner.</td><td align="center">Decor</td><td align="center">Float</td></tr><tr><td align="center">268</td><td>Set decoration Y scale to value 'B'</td><td>Making decoration 'A' taller/shorter</td><td align="center">Decor</td><td align="center">Float</td></tr><tr><td align="center">292</td><td>Mask Decoration 'A' with Decoration 'B' (Flash Player only)</td><td>Basically adds a layer of decor model on it. (Like paint net, photoshop layer mode.)</td><td align="center">Decor</td><td align="center">Decor</td></tr><tr><td align="center">297</td><td>Set decoration 'A' visibility multiplier to value 'B' (0...1）</td><td>Glass effect decorations.</td><td align="center">Decor</td><td align="center">Float<br>(0...1)</td></tr><tr><td align="center">298</td><td>Set decoration 'A' visibility multiplier to value of variable 'B' (0..1)</td><td>Same as 297, but the value is grab from variables.</td><td align="center">Decor</td><td align="center">Var<br>(float)</td></tr><tr><td align="center">299</td><td>Move, rotate and flip Decoration 'A' to position of Gun 'B'</td><td>Self-explanatory. Stick décor to guns.</td><td align="center">Decor</td><td align="center">Gun</td></tr><tr><td align="center">342</td><td>Attach decoration 'A' to the current player's camera. Param 'B' will determine which part of the camera (left, center...) the decoration will be attached to.</td><td><p>0 is center </p><p>1 is top left </p><p>2 is top right </p><p>3 is bottom right </p><p>4 is bottom left</p></td><td align="center">Decor</td><td align="center">Int<br>(0~4)</td></tr><tr><td align="center">343</td><td>Set Variable 'A' to value of degrees rotation of Decoration 'B'</td><td>Save the degress rotation state value of decoration 'B' to variable 'A'.</td><td align="center">Var</td><td align="center">Decor</td></tr><tr><td align="center">344</td><td>Change top-left position of decor 'A' to top-left position of region 'B'</td><td>Move the decor 'A' to position of region 'B', measured in top-left position.</td><td align="center">Decor</td><td align="center">Region</td></tr><tr><td align="center">???</td><td>Set Decor 'A' color matrix to Array 'B' (array must have 4x5 items)</td><td><a href="https://eaglepb2.gitbook.io/pb2-editor-manual/tables/trigger/array/matrix-coloring-system">Click me for the color matrix tutorial.</a></td><td align="center">Decor</td><td align="center">Array<br>(4x5 float)</td></tr><tr><td align="center">???</td><td>Move, rotate and flip Decoration 'A' to position of Vehicle 'B'.</td><td>Self-explanatory.</td><td align="center">Decor</td><td align="center">Vehicle</td></tr><tr><td align="center">462</td><td>Move, rotate and flip Decoration 'A' to Barrel 'B'</td><td>Self-explanatory.</td><td align="center">Decor</td><td align="center">Barrel</td></tr><tr><td align="center">466</td><td>Set decoration X scale to variable 'B'</td><td>Same as 267, but the value is grab from variables.</td><td align="center">Decor</td><td align="center">Var<br>(float)</td></tr><tr><td align="center">467</td><td>Set decoration Y scale to variable 'B'</td><td>Same as 268, but the value is grab from variables.</td><td align="center">Decor</td><td align="center">Var<br>(float)</td></tr><tr><td align="center"><a href="/pb2-editor-manual/tables/trigger/decoration/blending-mode.md">478</a></td><td>Change Decoration 'A' blend mode to Mode 'B'</td><td><a href="/pb2-editor-manual/tables/trigger/decoration/blending-mode.md">Click me for more details.</a></td><td align="center">Decor</td><td align="center">???</td></tr></tbody></table>
