Is this made in unity? I can tell you how to do that. based on Google you have to:
To port Baldi’s Basics mods to mobile, get the source code, install mobile build modules, and Switch platforms.
Setting Up the Project in Unity
- Open the Unity Hub and load the source project for your Baldi mod (such as an open-source decompile).
- Open the Installs tab in Unity Hub, click the gear icon next to your editor version, and select Add Modules.
- Check Android Build Support (with SDK and NDK setup) or iOS Build Support, then finish the installation.
- Reopen your project, go to File > Build Settings, select either Android or iOS, and click Switch Platform.
Adjusting Assets and Controls for Mobile
- Update your input systems to support touch screen controls instead of PC mouse and keyboard.
- Go to Player Settings to adjust resolution, screen orientation, and bundle identifiers or package names.
- Recompile or replace mobile asset files (
assetsSplit0or texture bundles) using asset tools if you are injecting files directly into an existing mobile base package.
Building and Exporting
- For Android, connect your phone via USB with Developer Mode and USB Debugging active, then click Build and Run to output an APK file.
- For iOS, build the project out into an Xcode workspace, open it on a macOS computer, configure your Apple Developer signing certificate, and deploy it to your device.