- Joined
- Feb 27, 2021
- Messages
- 2
- Reaction score
- 0
- First Language
- English
- Primarily Uses
- RMMZ
I am attempting to reposition the location of the Attack, Skills, Items, and Guard buttons in Window_ActorCommand. I was attempting to use SceneManager._scene._actorCommandWindow.active to check whether or not the window is open with an if statement inside of Window_Selectable.prototype.itemRect, but that just errors out on runtime with "Cannot read property 'active' of undefined". I noticed that when I removed .active from the end it would work, but would affect every button in the battle scene. Any help that can point me in the right direction would be greatly appreciated!