-
Notifications
You must be signed in to change notification settings - Fork 0
#const
Hawkmax edited this page Oct 20, 2025
·
2 revisions
The #const command resolves a GameMaker built-in constant at runtime.
For example: vk_left, mb_left, fa_left, ...
member: { "key": "#const:<name>" }
key: no implementation
name: The case-sensitive name of the const you want to use.
{ // <-- root
// In the line below, the `#const` command will have to value of the const named 'vk_left'
"ref_const": "#const:vk_left"
}{
"ref_const": _runtime const value_
}Author’s Recommendation: next read #enum
Back to Repo ● Wiki Home
Copyright © coldrock.games