Allow script write access for WrapLayer "BindOffset" and "ReferenceOrigin"

As a Roblox developer, it is currently not possible to manipulate a WrapLayer’s position or deformation when using either LocalScripts or server Scripts.

The problem is the necessary properties (BindOffset and ReferenceOrigin) to achieve this can’t be accessed by LocalScripts nor server-side Scripts. I can only assign these properties through studio’s command bar.

Trying to assign a CFrame to either BindOffset or ReferenceOrigin results in the error Unable to assign property ________. Script write access is restricted

Use cases
A neat use case with this feature would allow players to place “stickers” onto more complex shapes such as a car body or an item. With other known methods such as static parts, one would run into problems with parts clipping and a lack of deformation onto surfaces. See an example of this in action:


This requires the use of both ReferenceOrigin and BindOffset to achieve this effect. I had to run code through studio’s command line to even get this far – so I’m currently blocked at this stage from advancing it any further.

Another use case is allowing players to adjust wristbands or other accessories realtime through in-game avatar editors.

The developer API reference for WrapLayer doesn’t have a “PluginSecurity” flare for these properties nor any mention of scripts not being able to access them – which only leaves me wondering if they were initially meant to be used by scripts or planned to? The description for BindOffset even mentions usage such as “community-made avatar editors”.

13 Likes

I’m shocked that this hasn’t been implemented yet

People can use certain accessories to turn themselves invisible in our game


I could set the BindOffset to 0,0,0 as an easy fix:

But yea the script lacks permission