> For the complete documentation index, see [llms.txt](https://hichigo.gitbook.io/padlock/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hichigo.gitbook.io/padlock/settings/how-to-open-the-door.md).

# How to open the door?

The pack contains a door that works with a lock, but I will tell you the main points needed to create your own door.

![](https://737829330-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fmarketplace-ue4-docs%2F-MTQeuaVIBn8V8U5HuuA%2F-MTQf-ZQR0H-P4mWfp2v%2F1.png?generation=1613224480488852\&alt=media)

1. Create a variable
2. Call it for example “***Padlock Ref***”, make it “***Instance Editable***” for this you need to click on the eye to the right of the variable name
3. Set the type of the variable, in our case “***BP\_Lock***”
4. In **Begin Play**, subscribe to the Event “***OnSuccessPassword\_Disp***” (or you can subscribe elsewhere according to your logic)
5. And finally, the code that will open the door, in my case, I just turn on the physics.
