The Edit Menu

The Edit Menu

The edit menu is where you can use the general edition tools of the GameMaker interface. The available options are:

When you select Search & Replace from the Edit menu, it will open the following window:

Search In Assets WindowYou can use this to search through all the scripted assets in your game, including room code, event code, scripts and shaders. When searching, you can type in a new search term in the box at the top, or you can click the arrow icon to the right to open a list of previously searched for terms. You also have the option to give a replacement term that will be used to replace the initial search term, and this too has an option to use a previously used replace string from the arrow button on the right.

Searches can be general or you can refine them using the options below the search term inputs:

Search Filter OptionsOnce you have given a search (and optionally a replace) term and set up the search options, you can use the different buttons at the bottom to choose how to perform the search and any actions to take. These buttons are:

Pressing the Escape key while this window is open will clear the selected field, however if that field is already empty, then it will close the window.

All results from using the Search & Replace window will be shown in the Search Output Window at the bottom of the IDE. Each result can be LMB Icon double-clicked to open the asset with the term in the current workspace and pan to it, ready for editing.