How to enable cntrl to pass through walls, etc.?

How do you turn cntrl button back on to pass through objects and walls while testing the rpg maker mv project?
that is default behavior to test play, it is disabled on deployment.
basically it's a function if you launch the game through the playtest button on the editor.
if you launch through the exe or the index.html directly that option (like all other playtest options) is disabled
Works only on test play mode, after deploying your game it'll be disabled. So if you want to turn this on on deployed game, I don't think it's doable.
As already mentioned, if it's not working in playtest you must have some plugins that disable it, since it should be on by default.

If you want to enable it on deployments use this:
JavaScript:
Game_Player.prototype.isDebugThrough = function () {
    return Input.isPressed('control');
};
I just want to enable for testing purposes while rpg maker mv is open so I can phase through walls, objects, etc. I don't need to enable it in the exported version of my game just the test version in rpg maker mv itself. Plz help, I watched a youtube video a while back that showed me how to change this. When you create a new project that project can automatically do it but myabe it could be a plugin in plugin commands.
as we said, that function should be automatic - you'll have to do nothing to activate it.

if it doesn't work, then you did something to disable it instead.

and we need more details from you to find out what the cause might be.

please provide a screenshot of your entire plugin manager and check the core version of your project (open \js\rog_core.js with a text editor, the version is the number in the title line)
The best way to figure this out is to disable all your plugins, and check if that fixes things. If it does, start re-enabling them in groups until you figure out which one was causing this problem.
It's likely something that affects movement or tile passability.

Once you identify which plugin is causing this, we should be able to help you modify it to fix this.
Its there by default and it should not be able to be turned off in testplay. In fact this is the first case I've heard of it stopping working.

Its possible a plugin is making it not do the testplay properly, so as stated you will want to start there.
Has anyone mentioned that he said ctrl and not alt?
I haven't been doing much map work lately, but I'm ~preeeetty~ sure it's alt.

And you need to press and hold the key, not just tap it.
Has anyone mentioned that he said ctrl and not alt?
I haven't been doing much map work lately, but I'm ~preeeetty~ sure it's alt.

And you need to press and hold the key, not just tap it.
You can use either apparently.
Welp, he only said ctrl, so I have reason to believe he is not pressing alt as well. Damn GGG changing things between version. Every version of RM should be exactly the same and things should never change!!!! /s

Additionally, his post implies to me that he is only tapping the key, not pressing and holding.
Welp, he only said ctrl
To be fair, I've never seen anyone in the years I've been on the forum reference Alt until you just did 🤣

I had no clue that key would also work - everything I've seen references Ctrl. That's true/functional in MV, MZ, and VX Ace - Alt does not work in VX Ace.

Additionally, his post implies to me that he is only tapping the key, not pressing and holding.
It's possible? But I don't see any words to create that implication. He just says Cntrl (which is not a key) to pass through objects, there's zero mention of whether it's being pressed or held or pulled off the keyboard and stuck back on upside down.
Cntrl does not work and neither does alt...I think I watched a youtube video that showed me how to disable the phasing function somewhere in the script of the game. Now I cant find that same video so thanks for the help but I'm gonna just have to start a new project at least that works.
Not sure why you'd want to do that in the first place, but I suppose the scripts are open for you to use. Just create a new project and copy the fresh scripts into your ongoing project.
I think I watched a youtube video that showed me how to disable the phasing function somewhere in the script of the game.
One of the several reasons you should never change the code in the core scripts directly.

Anything you modify should always be in a separate plugin file.
.I think I watched a youtube video that showed me how to disable the phasing function somewhere in the script of the game.
if you edited the default core scripts, that edit will be almost impossible to find - as that is always a bad idea to do, as it would always create additional problems on updating the core.

however you can disable all such edits by simply copying the core scripts from a new project

and next time, make your edit into a plugin - that would do the same but allow much better control.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-enable-cntrl-to-pass-through-walls-etc.172927/