前言
入门
许可证
安装
更新
发布说明
必须的SDK
许可
首选项
输入操作
首选项
拖拽操作预设
扩展编辑器预设
基础功能预设
图片编辑器预设
代码语言预设
插件市场预设
物体编辑器预设
插件预设
资源树预设
房间编辑器预设
运行预设
Spline编辑器预设
精灵编辑器预设
文本编辑器预设
图块集编辑器预设
时间轴预设
Prefs_ToDoList
Quick_Start
Introduction
Start
Workspaces
Resources
Workflow
Compiling
Debugging
Shortcuts
Menus
Build_Menu
Edit_Menu
File_Menu
Help_Menu
Layouts_Menu
Marketplace_Menu
Tools_Menu
Windows_Menu
Workflow
Sprites
Tilesets
Sounds
Objects
Rooms
Additional_Information
Bitwise_Operators
Command_Line
Errors
File_System
Importing_Non_Bitmap_Sprites
JSDoc
Micro_Web_Server
Obsolete_Functions
Texture_Pages
Using_Buffers
Editors
Extensions
Fonts
Images
Included_Files
Notes
Objects
Paths
Rooms
Scripts
Shaders
Sounds
Sprites
Tilesets
Timelines
Events
Async_Events
Draw_Events
Gesture_Events
Extras
Debugging
Device_Manager
Marketplace
Output
Project_Image_Generator
Recent_Windows
Remote_Worker
Sound_Mixer
Source_Control
Settings
Audio
Configurations
Preferences
Textures
Game_Options
Options_Android
options_html5
Options_iOS
Options_Linux
Options_Mac
Options_Windows
Options_WindowsUWP
Scripting
Drag_And_Drop_Overview
Action_Scripts
Applying_Actions
Changing_DnD
Creating_Action_Block_Code
Drag_And_Drop_Reference
Audio_Actions
get_audio_length
get_audio_pitch
get_audio_volume
get_master_volume
if_audio_is_paused
if_audio_is_playing
pause_all_audio
pause_audio
play_audio
resume_all_audio
resume_audio
set_audio_pitch
set_audio_position
set_audio_volume
set_master_volume
stop_all_audio
stop_audio
Buffer_Actions
copy_buffer
create_buffer
delete_buffer
get_buffer_position
get_buffer_size
if_buffer_exists
if_end_of_buffer
read_buffer
seek_buffer
write_buffer
Camera_Actions
get_view_variable
set_view_variable
Collision_Actions
if_any_object_at
if_collision_shape
if_object_at
Common_Actions
apply_to
assign_var
else
execute_code
execute_script
exit
function_call
get_global_var
if_expression
if_undefined
if_variable
macro
return
set_global_var
temp_var
Data_Structure_Actions
add_to_list
clear_data_structure
clear_grid
create_grid
create_list
create_map
create_stack
free_data_structure
get_grid_value
get_index_of_list_item
get_list_item_at
get_list_item_count
get_map_value
if_data_structure_empty
if_data_structure_exists
insert_into_list
pop_stack
push_onto_stack
remove_from_list
remove_map_entry
set_grid_value
set_map_value
Drawing_Actions
draw_ellipse
draw_gradient_ellipse
draw_gradient_rectangle
draw_healthbar
draw_instance_health
draw_instance_lives
draw_instance_score
draw_line
draw_rectangle
draw_self
draw_sprite
draw_sprite_transformed
draw_stacked_sprites
draw_transformed_value
draw_value
get_draw_alpha
get_draw_colour
set_draw_alpha
set_draw_colour
set_font
set_text_alignment
File_Actions
close_ini_file
copy_file
delete_file
if_file_exists
load_buffer
open_ini_file
read_ini_file
rename_file
save_buffer
write_to_ini_file
Game_Actions
exit_game
load_game
restart_game
save_game
Gamepad_Actions
gamepad_get_axis
gamepad_get_connected
gamepad_get_count
gamepad_get_trigger
gamepad_set_axis_deadzone
if_gamepad_button_down
if_gamepad_button_pressed
if_gamepad_button_released
Instance_Actions
call_parent_event
call_user_event
change_object_instance
create_object_instance
destroy_at_position
destroy_object_instance
get_alarm
get_instance_count
get_instance_variable
if_instance_exists
set_alarm
set_animation_speed
set_instance_alpha
set_instance_colour
set_instance_rotation
set_instance_scale
set_instance_variable
set_sprite
Instance_Variable_Actions
get_health
get_lives
get_score
if_health
if_lives
if_score
set_health
set_lives
set_score
Loop_Actions
break
for
loop
repeat
while
Misc_Actions
set_window_state
show_debug_message
Mouse_And_Keyboard_Actions
if_key_down
if_key_pressed
if_key_released
if_mouse_down
if_mouse_pressed
if_mouse_released
Movement_Actions
jump_to_point
jump_to_start
reverse
set_direction_fixed
set_direction_random
set_direction_variable
set_friction
set_gravity_direction
set_gravity_force
set_point_direction
set_speed
snap_position
wrap_around_room
Particle_Actions
burst_particles
clear_particle_system
create_particle_emitter
create_particle_system
create_particle_type
destroy_particle_emitter
destroy_particle_system
destroy_particle_type
do_effect
emit_particles
pause_particle_system
set_emitter_region
set_particle_alpha
set_particle_colour
set_particle_direction
set_particle_gravity
set_particle_life
set_particle_orientation
set_particle_shape
set_particle_size
set_particle_speed
set_particle_sprite
set_secondary_particle
update_particle_system
Path_Actions
get_path_follow_speed
get_position_along_path
set_path_follow_speed
set_position_along_path
start_following_path
stop_following_path
Random_Actions
choose
get_random_number
randomise
Room_Actions
get_current_room
go_to_next_room
go_to_previous_room
go_to_room
if_room_is_first
if_room_is_last
restart_room
Switch_Actions
case
default
switch
Tile_Actions
get_tile_at_pixel
get_tile_data_at_pixel
get_tile_data_in_cell
get_tile_data_transform
get_tile_in_cell
get_tilemap_variable
set_tile_at_pixel
set_tile_data_at_pixel
set_tile_data_in_cell
set_tile_data_transform
set_tile_in_cell
set_tile_set
Timeline_Actions
set_instance_timeline
set_timeline_moment
set_timeline_speed
set_timeline_state
Type_Actions
decimal_to_integer
number_to_string
string_to_number
GML_Overview
Code
Arrays
Assignments
Expressions
Accessors
Language_Features
Functions
Scripts
Comments
Keywords
Scope
Addressing_Variables
Evaluation_Order
Data_Types
argument_count
ptr
Arrays
array_copy
array_create
array_equals
array_height_2d
array_length_1d
array_length_2d
Built_In_Variables
async_load
health
lives
score
Checking_Data_Types
is_array
is_bool
is_int32
is_int64
is_matrix
is_ptr
is_real
is_string
is_undefined
is_vec3
is_vec4
typeof
Variable_Functions
variable_global_exists
variable_global_get
variable_global_set
variable_instance_exists
variable_instance_get
variable_instance_get_names
variable_instance_set
GML_Reference
asset_get_index
asset_get_type
Compatibility_Functions
Asynchronous Functions
cloud_file_save
cloud_string_save
cloud_synchronise
get_integer_async
get_login_async
get_string_async
http_get
http_get_file
http_post_string
http_request
push_cancel_local_notification
push_get_first_local_notification
push_get_next_local_notification
push_local_notification
shop_leave_rating
show_message_async
show_question_async
Achievements and Leaderboards
achievement_available
achievement_get_challenges
achievement_get_pic
achievement_increment
achievement_load_friends
achievement_load_leaderboard
achievement_load_progress
achievement_login
achievement_login_status
achievement_logout
achievement_post
achievement_post_score
achievement_reset
achievement_send_challenge
achievement_show_achievements
achievement_show_challenge_notifications
achievement_show_leaderboards
Facebook
facebook_accesstoken
facebook_check_permission
facebook_dialog
facebook_graph_request
facebook_init
facebook_launch_offerwall
facebook_login
facebook_logout
facebook_post_message
facebook_request_publish_permissions
facebook_request_read_permissions
facebook_send_invite
facebook_status
facebook_user_id
Audio
Audio Buffers
Audio Emitters
Audio Groups
Audio Listeners
Audio Synchronisation
audio_channel_num
audio_create_buffer_sound
audio_create_play_queue
audio_create_stream
audio_create_sync_group
audio_debug
audio_destroy_stream
audio_destroy_sync_group
audio_emitter_create
audio_emitter_exists
audio_emitter_falloff
audio_emitter_free
audio_emitter_gain
audio_emitter_get_gain
audio_emitter_get_listener_mask
audio_emitter_get_pitch
audio_emitter_get_vx
audio_emitter_get_vy
audio_emitter_get_vz
audio_emitter_get_x
audio_emitter_get_y
audio_emitter_get_z
audio_emitter_pitch
audio_emitter_position
audio_emitter_set_listener_mask
audio_emitter_velocity
audio_exists
audio_falloff_set_model
audio_free_buffer_sound
audio_free_play_queue
audio_get_listener_count
audio_get_listener_info
audio_get_listener_mask
audio_get_master_gain
audio_get_name
audio_get_recorder_count
audio_get_recorder_info
audio_get_type
audio_group_is_loaded
audio_group_load
audio_group_load_progress
audio_group_name
audio_group_set_gain
audio_group_stop_all
audio_group_unload
audio_is_paused
audio_is_playing
audio_listener_get_data
audio_listener_orientation
audio_listener_position
audio_listener_set_orientation
audio_listener_set_position
audio_listener_set_velocity
audio_listener_velocity
audio_master_gain
audio_pause_all
audio_pause_sound
audio_pause_sync_group
audio_play_in_sync_group
audio_play_sound
audio_play_sound_at
audio_play_sound_on
audio_queue_sound
audio_resume_all
audio_resume_sound
audio_resume_sync_group
audio_set_listener_mask
audio_set_master_gain
audio_sound_gain
audio_sound_get_gain
audio_sound_get_listener_mask
audio_sound_get_pitch
audio_sound_get_track_position
audio_sound_length
audio_sound_pitch
audio_sound_set_listener_mask
audio_sound_set_track_position
audio_start_recording
audio_start_sync_group
audio_stop_all
audio_stop_recording
audio_stop_sound
audio_stop_sync_group
audio_sync_group_debug
audio_sync_group_get_track_pos
audio_sync_group_is_playing
Buffers
buffer_async_group_begin
buffer_async_group_end
buffer_async_group_option
buffer_base64_decode
buffer_base64_decode_ext
buffer_base64_encode
buffer_copy
buffer_copy_from_vertex_buffer
buffer_create
buffer_create_from_vertex_buffer
buffer_create_from_vertex_buffer_ext
buffer_delete
buffer_exists
buffer_fill
buffer_get_address
buffer_get_alignment
buffer_get_size
buffer_get_surface
buffer_get_type
buffer_load
buffer_load_async
buffer_load_ext
buffer_md5
buffer_peek
buffer_poke
buffer_read
buffer_resize
buffer_save
buffer_save_async
buffer_save_ext
buffer_seek
buffer_set_surface
buffer_sha1
buffer_sizeof
buffer_tell
buffer_write
Cameras And Display
Cameras
camera_apply
camera_create
camera_create_view
camera_destroy
camera_get_active
camera_get_begin_script
camera_get_default
camera_get_end_script
camera_get_proj_mat
camera_get_update_script
camera_get_view_angle
camera_get_view_border_x
camera_get_view_border_y
camera_get_view_height
camera_get_view_mat
camera_get_view_speed_x
camera_get_view_speed_y
camera_get_view_target
camera_get_view_width
camera_get_view_x
camera_get_view_y
camera_set_begin_script
camera_set_default
camera_set_end_script
camera_set_proj_mat
camera_set_update_script
camera_set_view_angle
camera_set_view_border
camera_set_view_mat
camera_set_view_pos
camera_set_view_size
camera_set_view_speed
camera_set_view_target
view_camera
view_current
view_enabled
view_get_camera
view_get_hport
view_get_surface_id
view_get_visible
view_get_wport
view_get_xport
view_get_yport
view_hport
view_set_camera
view_set_hport
view_set_surface_id
view_set_visible
view_set_wport
view_set_xport
view_set_yport
view_surface_id
view_visible
view_wport
view_xport
view_yport
Display
display_get_dpi_x
display_get_dpi_y
display_get_gui_height
display_get_gui_width
display_get_height
display_get_orientation
display_get_width
display_mouse_get_x
display_mouse_get_y
display_mouse_set
display_reset
display_set_gui_maximise
display_set_gui_size
display_set_ui_visibility
screen_save
screen_save_part
The Game Window
window_center
window_device
window_get_caption
window_get_colour
window_get_cursor
window_get_fullscreen
window_get_height
window_get_visible_rects
window_get_width
window_get_x
window_get_y
window_handle
window_has_focus
window_mouse_get_x
window_mouse_get_y
window_mouse_set
window_set_caption
window_set_colour
window_set_cursor
window_set_fullscreen
window_set_max_height
window_set_max_width
window_set_min_height
window_set_min_width
window_set_position
window_set_rectangle
window_set_size
window_view_mouse_get_x
window_view_mouse_get_y
window_views_mouse_get_x
window_views_mouse_get_y
Controls
Device Input
device_get_tilt_x
device_get_tilt_y
device_get_tilt_z
device_is_keypad_open
device_mouse_check_button
device_mouse_check_button_pressed
device_mouse_check_button_released
device_mouse_dbclick_enable
device_mouse_raw_x
device_mouse_raw_y
device_mouse_x
device_mouse_x_to_gui
device_mouse_y
device_mouse_y_to_gui
GamePad Input
gamepad_axis_count
gamepad_axis_value
gamepad_button_check
gamepad_button_check_pressed
gamepad_button_check_released
gamepad_button_count
gamepad_button_value
gamepad_get_button_threshold
gamepad_get_description
gamepad_get_device_count
gamepad_is_connected
gamepad_is_supported
gamepad_set_axis_deadzone
gamepad_set_button_threshold
gamepad_set_colour
gamepad_set_vibration
Gesture Input
gesture_double_tap_distance
gesture_double_tap_time
gesture_drag_distance
gesture_drag_time
gesture_flick_speed
gesture_get_double_tap_distance
gesture_get_double_tap_time
gesture_get_drag_distance
gesture_get_drag_time
gesture_get_flick_speed
gesture_get_pinch_angle_away
gesture_get_pinch_angle_towards
gesture_get_pinch_distance
gesture_get_rotate_angle
gesture_get_rotate_time
gesture_pinch_angle_away
gesture_pinch_angle_towards
gesture_pinch_distance
gesture_rotate_angle
gesture_rotate_time
Keyboard Input
io_clear
keyboard_check
keyboard_check_direct
keyboard_check_pressed
keyboard_check_released
keyboard_clear
keyboard_get_map
keyboard_get_numlock
keyboard_key
keyboard_key_press
keyboard_key_release
keyboard_lastchar
keyboard_lastkey
keyboard_set_map
keyboard_set_numlock
keyboard_string
keyboard_unset_map
Mouse Input
mouse_button
mouse_check_button
mouse_check_button_pressed
mouse_check_button_released
mouse_clear
mouse_last_button
mouse_wheel_down
mouse_wheel_up
mouse_x
mouse_y
Virtual Keys
virtual_key_add
virtual_key_delete
virtual_key_hide
virtual_key_show
Data_Structures
ds_exists
ds_set_precision
DS Grids
ds_grid_add
ds_grid_add_disk
ds_grid_add_grid_region
ds_grid_add_region
ds_grid_clear
ds_grid_copy
ds_grid_create
ds_grid_destroy
ds_grid_get
ds_grid_get_disk_max
ds_grid_get_disk_mean
ds_grid_get_disk_min
ds_grid_get_disk_sum
ds_grid_get_max
ds_grid_get_mean
ds_grid_get_min
ds_grid_get_sum
ds_grid_height
ds_grid_multiply
ds_grid_multiply_disk
ds_grid_multiply_grid_region
ds_grid_multiply_region
ds_grid_read
ds_grid_resize
ds_grid_set
ds_grid_set_disk
ds_grid_set_grid_region
ds_grid_set_region
ds_grid_shuffle
ds_grid_sort
ds_grid_value_disk_exists
ds_grid_value_disk_x
ds_grid_value_disk_y
ds_grid_value_exists
ds_grid_value_x
ds_grid_value_y
ds_grid_width
ds_grid_write
DS Lists
ds_list_add
ds_list_clear
ds_list_copy
ds_list_create
ds_list_delete
ds_list_destroy
ds_list_empty
ds_list_find_index
ds_list_find_value
ds_list_insert
ds_list_mark_as_list
ds_list_mark_as_map
ds_list_read
ds_list_replace
ds_list_set
ds_list_shuffle
ds_list_size
ds_list_sort
ds_list_write
DS Maps
ds_map_add
ds_map_add_list
ds_map_add_map
ds_map_clear
ds_map_copy
ds_map_create
ds_map_delete
ds_map_destroy
ds_map_empty
ds_map_exists
ds_map_find_first
ds_map_find_last
ds_map_find_next
ds_map_find_previous
ds_map_find_value
ds_map_read
ds_map_replace
ds_map_replace_list
ds_map_replace_map
ds_map_secure_load
ds_map_secure_load_buffer
ds_map_secure_save
ds_map_secure_save_buffer
ds_map_size
ds_map_write
DS Priority Queues
ds_priority_add
ds_priority_change_priority
ds_priority_clear
ds_priority_copy
ds_priority_create
ds_priority_delete_max
ds_priority_delete_min
ds_priority_delete_value
ds_priority_destroy
ds_priority_empty
ds_priority_find_max
ds_priority_find_min
ds_priority_find_priority
ds_priority_read
ds_priority_size
ds_priority_write
DS Queues
ds_queue_clear
ds_queue_copy
ds_queue_create
ds_queue_dequeue
ds_queue_destroy
ds_queue_empty
ds_queue_enqueue
ds_queue_head
ds_queue_read
ds_queue_size
ds_queue_tail
ds_queue_write
DS Stacks
ds_stack_clear
ds_stack_copy
ds_stack_create
ds_stack_destroy
ds_stack_empty
ds_stack_pop
ds_stack_push
ds_stack_read
ds_stack_size
ds_stack_top
ds_stack_write
Debugging
code_is_compiled
debug_event
debug_mode
fps
fps_real
get_integer
get_string
show_debug_message
show_debug_overlay
show_error
show_message
show_question
Drawing
draw_enable_drawevent
draw_flush
Colour
colour_get_blue
colour_get_green
colour_get_hue
colour_get_red
colour_get_saturation
colour_get_value
draw_clear
draw_clear_alpha
draw_get_alpha
draw_get_colour
draw_getpixel
draw_getpixel_ext
draw_set_alpha
draw_set_colour
make_colour_hsv
make_colour_rgb
merge_colour
Forms
draw_arrow
draw_button
draw_circle
draw_circle_colour
draw_ellipse
draw_ellipse_colour
draw_healthbar
draw_line
draw_line_colour
draw_line_width
draw_line_width_colour
draw_path
draw_point
draw_point_colour
draw_rectangle
draw_rectangle_colour
draw_roundrect
draw_roundrect_colour
draw_roundrect_colour_ext
draw_roundrect_ext
draw_set_circle_precision
draw_triangle
draw_triangle_colour
GPU
gpu_get_alphatestenable
gpu_get_alphatestref
gpu_get_blendenable
gpu_get_blendmode
gpu_get_blendmode_dest
gpu_get_blendmode_destalpha
gpu_get_blendmode_ext
gpu_get_blendmode_ext_sepalpha
gpu_get_blendmode_src
gpu_get_blendmode_srcalpha
gpu_get_colorwriteenable
gpu_get_cullmode
gpu_get_fog
gpu_get_state
gpu_get_texfilter
gpu_get_texfilter_ext
gpu_get_texrepeat
gpu_get_texrepeat_ext
gpu_get_zfunc
gpu_get_ztestenable
gpu_get_zwriteenable
gpu_pop_state
gpu_push_state
gpu_set_alphatestenable
gpu_set_alphatestref
gpu_set_blendenable
gpu_set_blendmode
gpu_set_blendmode_ext
gpu_set_blendmode_ext_sepalpha
gpu_set_colorwriteenable
gpu_set_cullmode
gpu_set_fog
gpu_set_state
gpu_set_texfilter
gpu_set_texfilter_ext
gpu_set_texrepeat
gpu_set_texrepeat_ext
gpu_set_zfunc
gpu_set_ztestenable
gpu_set_zwriteenable
Lighting
draw_get_lighting
draw_light_define_ambient
draw_light_define_direction
draw_light_define_point
draw_light_enable
draw_light_get
draw_light_get_ambient
draw_set_lighting
Mipmapping
gpu_get_tex_max_aniso
gpu_get_tex_max_aniso_ext
gpu_get_tex_max_mip
gpu_get_tex_max_mip_ext
gpu_get_tex_min_mip
gpu_get_tex_min_mip_ext
gpu_get_tex_mip_bias
gpu_get_tex_mip_bias_ext
gpu_get_tex_mip_enable
gpu_get_tex_mip_enable_ext
gpu_get_tex_mip_filter
gpu_get_tex_mip_filter_ext
gpu_set_tex_max_aniso
gpu_set_tex_max_aniso_ext
gpu_set_tex_max_mip
gpu_set_tex_max_mip_ext
gpu_set_tex_min_mip
gpu_set_tex_min_mip_ext
gpu_set_tex_mip_bias
gpu_set_tex_mip_bias_ext
gpu_set_tex_mip_enable
gpu_set_tex_mip_enable_ext
gpu_set_tex_mip_filter
gpu_set_tex_mip_filter_ext
Particles
Particle Emitters
part_emitter_burst
part_emitter_clear
part_emitter_create
part_emitter_destroy
part_emitter_destroy_all
part_emitter_exists
part_emitter_region
part_emitter_stream
Particle Systems
part_particles_clear
part_particles_count
part_particles_create
part_particles_create_colour
part_system_automatic_draw
part_system_automatic_update
part_system_clear
part_system_create
part_system_create_layer
part_system_depth
part_system_destroy
part_system_draw_order
part_system_drawit
part_system_exists
part_system_get_layer
part_system_layer
part_system_position
part_system_update
Particle Types
part_type_alpha1
part_type_alpha2
part_type_alpha3
part_type_blend
part_type_clear
part_type_colour_hsv
part_type_colour_mix
part_type_colour_rgb
part_type_colour1
part_type_colour2
part_type_colour3
part_type_create
part_type_death
part_type_destroy
part_type_direction
part_type_exists
part_type_gravity
part_type_life
part_type_orientation
part_type_scale
part_type_shape
part_type_size
part_type_speed
part_type_sprite
part_type_step
Simple Effects
ef_cloud
ef_ellipse
ef_explosion
ef_firework
ef_flare
ef_rain
ef_ring
ef_smoke
ef_smokeup
ef_snow
ef_spark
ef_star
effect_clear
effect_create_above
effect_create_below
Primitives
draw_primitive_begin
draw_primitive_begin_texture
draw_primitive_end
draw_vertex
draw_vertex_colour
draw_vertex_texture
draw_vertex_texture_colour
Primitive Building
vertex_argb
vertex_begin
vertex_colour
vertex_create_buffer
vertex_create_buffer_ext
vertex_create_buffer_from_buffer
vertex_create_buffer_from_buffer_ext
vertex_delete_buffer
vertex_end
vertex_float1
vertex_float2
vertex_float3
vertex_float4
vertex_freeze
vertex_get_buffer_size
vertex_get_number
vertex_normal
vertex_position
vertex_position_3d
vertex_submit
vertex_texcoord
vertex_ubyte4
Vertex Formats
vertex_format_add_colour
vertex_format_add_custom
vertex_format_add_normal
vertex_format_add_position
vertex_format_add_position_3d
vertex_format_add_textcoord
vertex_format_begin
vertex_format_delete
vertex_format_end
Sprites_And_Tiles
draw_enable_swf_aa
draw_get_swf_aa_level
draw_self
draw_set_swf_aa_level
draw_skeleton
draw_skeleton_collision
draw_skeleton_instance
draw_skeleton_time
draw_sprite
draw_sprite_ext
draw_sprite_general
draw_sprite_part
draw_sprite_part_ext
draw_sprite_pos
draw_sprite_stretched
draw_sprite_stretched_ext
draw_sprite_tiled
draw_sprite_tiled_ext
draw_tile
draw_tilemap
Surfaces
application_get_position
application_surface
application_surface_draw_enable
application_surface_enable
application_surface_is_enabled
draw_surface
draw_surface_ext
draw_surface_general
draw_surface_part
draw_surface_part_ext
draw_surface_stretched
draw_surface_stretched_ext
draw_surface_tiled
draw_surface_tiled_ext
surface_copy
surface_copy_part
surface_create
surface_create_ext
surface_exists
surface_free
surface_get_height
surface_get_texture
surface_get_width
surface_getpixel
surface_getpixel_ext
surface_reset_target
surface_resize
surface_save
surface_save_part
surface_set_target
surface_set_target_ext
The Application Surface
Text
draw_highscore
draw_set_font
draw_set_halign
draw_set_valign
draw_text
draw_text_colour
draw_text_ext
draw_text_ext_colour
draw_text_ext_transformed
draw_text_ext_transformed_colour
draw_text_transformed
draw_text_transformed_colour
Textures
draw_texture_flush
texture_get_height
texture_get_texel_height
texture_get_texel_width
texture_get_uvs
texture_get_width
texture_global_scale
texture_set_stage
File Handling
base64_decode
base64_encode
directory_create
directory_destroy
directory_exists
json_decode
json_encode
load_csv
md5_file
md5_string_unicode
md5_string_utf8
program_directory
sha1_file
sha1_string_unicode
sha1_string_utf8
temp_directory
working_directory
zip_unzip
Binary Files
file_bin_close
file_bin_open
file_bin_position
file_bin_read_byte
file_bin_rewrite
file_bin_seek
file_bin_size
file_bin_write_byte
File System
file_attributes
file_copy
file_delete
file_exists
file_find_close
file_find_first
file_find_next
file_rename
filename_change_ext
filename_dir
filename_drive
filename_ext
filename_name
filename_path
get_open_filename
get_open_filename_ext
get_save_filename
get_save_filename_ext
Files
file_text_close
file_text_eof
file_text_eoln
file_text_open_append
file_text_open_from_string
file_text_open_read
file_text_open_write
file_text_read_real
file_text_read_string
file_text_readln
file_text_write_real
file_text_write_string
file_text_writeln
Ini Files
ini_close
ini_key_delete
ini_key_exists
ini_open
ini_open_from_string
ini_read_real
ini_read_string
ini_section_delete
ini_section_exists
ini_write_real
ini_write_string
Fonts
font_add
font_add_sprite
font_add_sprite_ext
font_delete
font_exists
font_get_bold
font_get_first
font_get_fontname
font_get_italic
font_get_last
font_get_name
font_get_size
font_get_texture
font_get_uvs
font_replace_sprite
font_replace_sprite_ext
font_set_cache_size
font_tables
font_texture_page_size
font_utf8_table
Game
game_display_name
game_end
game_get_speed
game_id
game_load
game_load_buffer
game_project_name
game_restart
game_save
game_save_buffer
game_save_id
game_set_speed
In App Purchases
iap_acquire
iap_activate
iap_consume
iap_enumerate_products
iap_product_details
iap_purchase_details
iap_restore_all
iap_status
Instances
instance_count
instance_id
instance_id_get
Deactivating_Instances
instance_activate_all
instance_activate_layer
instance_activate_object
instance_activate_region
instance_deactivate_all
instance_deactivate_layer
instance_deactivate_object
instance_deactivate_region
Instance_Functions
instance_change
instance_copy
instance_create_depth
instance_create_layer
instance_destroy
instance_exists
instance_find
instance_furthest
instance_nearest
instance_number
instance_place
instance_position
Instance_Variables
alarm
bbox_bottom
bbox_left
bbox_right
bbox_top
depth
direction
friction
gravity
gravity_direction
hspeed
id
image_index
image_alpha
image_angle
image_blend
image_number
image_speed
image_xscale
image_yscale
layer
mask_index
object_index
path_index
path_endaction
path_orientation
path_position
path_positionprevious
path_scale
path_speed
persistent
solid
speed
sprite_index
sprite_height
sprite_width
sprite_xoffset
sprite_yoffset
timeline_index
timeline_loop
timeline_position
timeline_running
timeline_speed
visible
vspeed
x
xprevious
xstart
y
yprevious
ystart
Maths
Date and Time
current_day
current_hour
current_minute
current_month
current_second
current_time
current_weekday
current_year
date_compare_date
date_compare_datetime
date_compare_time
date_create_datetime
date_current_datetime
date_date_of
date_date_string
date_datetime_string
date_day_span
date_days_in_month
date_days_in_year
date_get_day
date_get_day_of_year
date_get_hour
date_get_hour_of_year
date_get_minute
date_get_minute_of_year
date_get_month
date_get_second
date_get_second_of_year
date_get_timezone
date_get_week
date_get_weekday
date_get_year
date_hour_span
date_inc_day
date_inc_hour
date_inc_minute
date_inc_month
date_inc_second
date_inc_week
date_inc_year
date_is_today
date_leap_year
date_minute_span
date_month_span
date_second_span
date_set_timezone
date_time_of
date_time_string
date_valid_datetime
date_week_span
date_year_span
delta_time
get_timer
Real Valued functions
abs
arccos
arcsin
arctan
arctan2
ceil
choose
clamp
cos
darccos
darcsin
darctan
darctan2
dcos
degtorad
dsin
dtan
exp
floor
frac
int64
irandom
irandom_range
lengthdir_x
lengthdir_y
lerp
ln
log10
log2
logn
math_get_epsilon
math_set_epsilon
max
mean
median
min
power
radtodeg
random
random_get_seed
random_range
random_set_seed
randomise
round
sign
sin
sqr
sqrt
tan
Vector Functions
angle_difference
distance_to_object
distance_to_point
dot_product
dot_product_3d
dot_product_3d_normalised
dot_product_normalised
Normalised Vectors
point_direction
point_distance
point_distance_3d
Vectors
Matrices
matrix_build
matrix_build_identity
matrix_build_lookat
matrix_build_projection_ortho
matrix_build_projection_perspective
matrix_build_projection_perspective_fov
matrix_get
matrix_multiply
matrix_set
matrix_stack_clear
matrix_stack_is_empty
matrix_stack_pop
matrix_stack_push
matrix_stack_set
matrix_stack_top
matrix_transform_vertex
Miscellaneous
alarm_get
alarm_set
cursor_sprite
environment_get_variable
external_call
external_define
external_free
GM_build_date
GM_runtime_version
GM_version
gml_pragma
gml_release_mode
highscore_add
highscore_clear
highscore_name
highscore_value
os_browser
os_device
os_get_config
os_get_info
os_get_language
os_get_region
os_is_network_connected
os_is_paused
os_lock_orientation
os_powersave_enable
os_type
os_version
parameter_count
parameter_string
script_execute
script_exists
script_get_name
Movement and Collisions
Collisions
collision_circle
collision_ellipse
collision_line
collision_point
collision_rectangle
place_empty
place_free
place_meeting
point_in_circle
point_in_rectangle
point_in_triangle
position_change
position_destroy
position_empty
position_meeting
rectangle_in_circle
rectangle_in_rectangle
rectangle_in_triangle
Motion Planning
mp_grid_add_cell
mp_grid_add_instances
mp_grid_add_rectangle
mp_grid_clear_all
mp_grid_clear_cell
mp_grid_clear_rectangle
mp_grid_create
mp_grid_destroy
mp_grid_draw
mp_grid_get_cell
mp_grid_path
mp_grid_to_ds_grid
mp_linear_path
mp_linear_path_object
mp_linear_step
mp_linear_step_object
mp_potential_path
mp_potential_path_object
mp_potential_settings
mp_potential_step
mp_potential_step_object
Movement
motion_add
motion_set
move_bounce_all
move_bounce_solid
move_contact_all
move_contact_solid
move_outside_all
move_outside_solid
move_random
move_snap
move_towards_point
move_wrap
place_snapped
Networking
network_connect
network_connect_raw
network_create_server
network_create_server_raw
network_create_socket
network_create_socket_ext
network_destroy
network_resolve
network_send_broadcast
network_send_packet
network_send_raw
network_send_udp
network_send_udp_raw
network_set_config
network_set_timeout
Objects
object_exists
object_get_mask
object_get_name
object_get_parent
object_get_persistent
object_get_physics
object_get_solid
object_get_sprite
object_get_visible
object_is_ancestor
object_set_mask
object_set_persistent
object_set_solid
object_set_sprite
object_set_visible
Generating Events
event_action
event_inherited
event_number
event_object
event_perform
event_perform_object
event_type
event_user
Paths
path_index
path_end
path_endaction
path_orientation
path_position
path_positionprevious
path_scale
path_speed
path_start
Changing Paths
path_add
path_add_point
path_append
path_assign
path_change_point
path_clear_points
path_delete
path_delete_point
path_duplicate
path_flip
path_insert_point
path_mirror
path_rescale
path_reverse
path_rotate
path_set_closed
path_set_kind
path_set_precision
path_shift
Path Information
path_exists
path_get_closed
path_get_kind
path_get_length
path_get_name
path_get_number
path_get_point_speed
path_get_point_x
path_get_point_y
path_get_precision
path_get_speed
path_get_x
path_get_y
Physics
physics_mass_properties
physics_test_overlap
Fixtures
physics_fixture_add_point
physics_fixture_bind
physics_fixture_bind_ext
physics_fixture_create
physics_fixture_delete
physics_fixture_set_angular_damping
physics_fixture_set_awake
physics_fixture_set_box_shape
physics_fixture_set_chain_shape
physics_fixture_set_circle_shape
physics_fixture_set_collision_group
physics_fixture_set_density
physics_fixture_set_edge_shape
physics_fixture_set_friction
physics_fixture_set_kinematic
physics_fixture_set_linear_damping
physics_fixture_set_polygon_shape
physics_fixture_set_restitution
physics_fixture_set_sensor
physics_get_density
physics_get_friction
physics_get_restitution
physics_remove_fixture
physics_set_density
physics_set_friction
physics_set_restitution
Forces
physics_apply_angular_impulse
physics_apply_force
physics_apply_impulse
physics_apply_local_force
physics_apply_local_impulse
physics_apply_torque
Joints
Physics Joint Constants
physics_joint_delete
physics_joint_distance_create
physics_joint_enable_motor
physics_joint_friction_create
physics_joint_gear_create
physics_joint_get_value
physics_joint_prismatic_create
physics_joint_pulley_create
physics_joint_revolute_create
physics_joint_rope_create
physics_joint_set_value
physics_joint_weld_create
physics_joint_wheel_create
Physics Variables
phy_active
phy_angular_damping
phy_angular_velocity
phy_bullet
phy_col_normal_x
phy_col_normal_y
phy_collision_points
phy_collision_x
phy_collision_y
phy_com_x
phy_com_y
phy_dynamic
phy_fixed_rotation
phy_inertia
phy_kinematic
phy_linear_damping
phy_linear_velocity_x
phy_linear_velocity_y
phy_mass
phy_position_x
phy_position_xprevious
phy_position_y
phy_position_yprevious
phy_rotation
phy_sleeping
phy_speed
phy_speed_x
phy_speed_y
Soft Body Particles
physics_particle_count
physics_particle_create
physics_particle_delete
physics_particle_delete_region_box
physics_particle_delete_region_circle
physics_particle_delete_region_poly
physics_particle_draw
physics_particle_draw_ext
physics_particle_get_damping
physics_particle_get_data
physics_particle_get_data_particle
physics_particle_get_density
physics_particle_get_gravity_scale
physics_particle_get_group_flags
physics_particle_get_max_count
physics_particle_get_radius
physics_particle_group_add_point
physics_particle_group_begin
physics_particle_group_box
physics_particle_group_circle
physics_particle_group_count
physics_particle_group_delete
physics_particle_group_end
physics_particle_group_get_ang_vel
physics_particle_group_get_angle
physics_particle_group_get_centre_x
physics_particle_group_get_centre_y
physics_particle_group_get_data
physics_particle_group_get_inertia
physics_particle_group_get_vel_x
physics_particle_group_get_vel_y
physics_particle_group_get_x
physics_particle_group_get_y
physics_particle_group_join
physics_particle_group_polygon
physics_particle_set_category_flags
physics_particle_set_damping
physics_particle_set_density
physics_particle_set_flags
physics_particle_set_gravity_scale
physics_particle_set_group_flags
physics_particle_set_max_count
physics_particle_set_radius
The Physics World
physics_draw_debug
physics_pause_enable
physics_world_create
physics_world_draw_debug
physics_world_gravity
physics_world_update_iterations
physics_world_update_speed
Rooms
Backgrounds
layer_background_index
layer_background_alpha
layer_background_blend
layer_background_create
layer_background_destroy
layer_background_exists
layer_background_get_index
layer_background_get_alpha
layer_background_get_blend
layer_background_get_htiled
layer_background_get_id
layer_background_get_speed
layer_background_get_sprite
layer_background_get_stretch
layer_background_get_visible
layer_background_get_vtiled
layer_background_get_xscale
layer_background_get_yscale
layer_background_htiled
layer_background_speed
layer_background_sprite
layer_background_stretch
layer_background_visible
layer_background_vtiled
layer_background_xscale
layer_background_yscale
General
room
room_add
room_assign
room_duplicate
room_exists
room_first
room_get_camera
room_get_name
room_get_viewport
room_goto
room_goto_next
room_goto_previous
room_height
room_instance_add
room_instance_clear
room_last
room_next
room_persistent
room_previous
room_restart
room_set_background_colour
room_set_camera
room_set_height
room_set_persistent
room_set_view_enabled
room_set_viewport
room_set_width
room_speed
room_width
Layers
layer_add_instance
layer_create
layer_depth
layer_destroy
layer_element_move
layer_exists
layer_force_draw_depth
layer_get_all
layer_get_all_elements
layer_get_depth
layer_get_element_layer
layer_get_element_type
layer_get_forced_depth
layer_get_hspeed
layer_get_id
layer_get_name
layer_get_script_begin
layer_get_script_end
layer_get_shader
layer_get_target_room
layer_get_visible
layer_get_vspeed
layer_get_x
layer_get_y
layer_has_instance
layer_hspeed
layer_instance_get_instance
layer_is_draw_depth_forced
layer_reset_target_room
layer_script_begin
layer_script_end
layer_set_target_room
layer_set_visible
layer_shader
layer_vspeed
layer_x
layer_y
Sprites
layer_sprite_index
layer_sprite_alpha
layer_sprite_angle
layer_sprite_blend
layer_sprite_change
layer_sprite_create
layer_sprite_destroy
layer_sprite_exists
layer_sprite_get_index
layer_sprite_get_alpha
layer_sprite_get_angle
layer_sprite_get_blend
layer_sprite_get_id
layer_sprite_get_speed
layer_sprite_get_sprite
layer_sprite_get_x
layer_sprite_get_xscale
layer_sprite_get_y
layer_sprite_get_yscale
layer_sprite_speed
layer_sprite_x
layer_sprite_xscale
layer_sprite_y
layer_sprite_yscale
Tilemaps
layer_tilemap_create
layer_tilemap_destroy
layer_tilemap_exists
layer_tilemap_get_id
tile_get_index
tile_get_empty
tile_get_flip
tile_get_mirror
tile_get_rotate
tile_set_index
tile_set_empty
tile_set_flip
tile_set_mirror
tile_set_rotate
tilemap_clear
tilemap_get
tilemap_get_at_pixel
tilemap_get_cell_x_at_pixel
tilemap_get_cell_y_at_pixel
tilemap_get_frame
tilemap_get_global_mask
tilemap_get_height
tilemap_get_mask
tilemap_get_tile_height
tilemap_get_tile_width
tilemap_get_tileset
tilemap_get_width
tilemap_get_x
tilemap_get_y
tilemap_set
tilemap_set_at_pixel
tilemap_set_global_mask
tilemap_set_mask
tilemap_tileset
tilemap_x
tilemap_y
Scripts
script_execute
script_exists
script_get_name
Shaders
shader_current
shader_enable_corner_id
shader_get_sampler_index
shader_get_uniform
shader_is_compiled
shader_reset
shader_set
shader_set_uniform_f
shader_set_uniform_f_array
shader_set_uniform_i
shader_set_uniform_i_array
shader_set_uniform_matrix
shader_set_uniform_matrix_array
shaders_are_supported
Shader Constants
Sprites
sprite_add
sprite_add_from_surface
sprite_assign
sprite_collision_mask
sprite_create_from_surface
sprite_delete
sprite_duplicate
sprite_exists
sprite_flush
sprite_flush_multi
sprite_get_bbox_bottom
sprite_get_bbox_left
sprite_get_bbox_right
sprite_get_bbox_top
sprite_get_height
sprite_get_name
sprite_get_number
sprite_get_speed
sprite_get_speed_type
sprite_get_texture
sprite_get_tpe
sprite_get_uvs
sprite_get_width
sprite_get_xoffset
sprite_get_yoffset
sprite_merge
sprite_prefetch
sprite_prefetch_multi
sprite_replace
sprite_save
sprite_save_strip
sprite_set_alpha_from_sprite
sprite_set_cache_size
sprite_set_cache_size_ext
sprite_set_offset
sprite_set_speed
Skeletal Animations
skeleton_animation_clear
skeleton_animation_get
skeleton_animation_get_duration
skeleton_animation_get_ext
skeleton_animation_get_frame
skeleton_animation_get_frames
skeleton_animation_list
skeleton_animation_mix
skeleton_animation_set
skeleton_animation_set_ext
skeleton_animation_set_frame
skeleton_attachment_create
skeleton_attachment_get
skeleton_attachment_set
skeleton_bone_data_get
skeleton_bone_data_set
skeleton_bone_state_get
skeleton_bone_state_set
skeleton_collision_draw_set
skeleton_get_bounds
skeleton_get_minmax
skeleton_get_num_bounds
skeleton_skin_get
skeleton_skin_list
skeleton_skin_set
skeleton_slot_data
Steam API
steam_activate_overlay
steam_activate_overlay_browser
steam_activate_overlay_store
steam_activate_overlay_user
steam_available_languages
steam_clear_achievement
steam_create_leaderboard
steam_current_game_language
steam_download_friends_scores
steam_download_scores
steam_download_scores_around_user
steam_file_delete
steam_file_exists
steam_file_persisted
steam_file_read
steam_file_share
steam_file_size
steam_file_write
steam_file_write_file
steam_get_achievement
steam_get_app_id
steam_get_persona_name
steam_get_quota_free
steam_get_quota_total
steam_get_stat_avg_rate
steam_get_stat_float
steam_get_stat_int
steam_get_user_account_id
steam_get_user_persona_name
steam_get_user_steam_id
steam_initialised
steam_is_cloud_enabled_for_account
steam_is_cloud_enabled_for_app
steam_is_overlay_activated
steam_is_overlay_enabled
steam_is_screenshot_requested
steam_is_user_logged_on
steam_reset_all_stats
steam_reset_all_stats_achievements
steam_send_screenshot
steam_set_achievement
steam_set_stat_avg_rate
steam_set_stat_float
steam_set_stat_int
steam_stats_ready
steam_upload_score
steam_upload_score_buffer
steam_user_installed_dlc
steam_user_owns_dlc
User Generated Content
steam_ugc_create_item
steam_ugc_create_query_all
steam_ugc_create_query_all_ex
steam_ugc_create_query_user
steam_ugc_create_query_user_ex
steam_ugc_download
steam_ugc_get_item_install_info
steam_ugc_get_item_update_info
steam_ugc_get_item_update_progress
steam_ugc_get_subscribed_items
steam_ugc_num_subscribed_items
steam_ugc_query_add_excluded_tag
steam_ugc_query_add_required_tag
steam_ugc_query_set_allow_cached_response
steam_ugc_query_set_cloud_filename_filter
steam_ugc_query_set_match_any_tag
steam_ugc_query_set_ranked_by_trend_days
steam_ugc_query_set_return_long_description
steam_ugc_query_set_return_total_only
steam_ugc_query_set_search_text
steam_ugc_request_item_details
steam_ugc_send_query
steam_ugc_set_item_content
steam_ugc_set_item_description
steam_ugc_set_item_preview
steam_ugc_set_item_tags
steam_ugc_set_item_title
steam_ugc_set_item_visibility
steam_ugc_start_item_update
steam_ugc_submit_item_update
steam_ugc_subscribe_item
steam_ugc_unsubscribe_item
Strings
ansi_char
chr
clipboard_get_text
clipboard_has_text
clipboard_set_text
ord
real
string
string_byte_at
string_byte_length
string_char_at
string_copy
string_count
string_delete
string_digits
string_format
string_hash_to_newline
string_height
string_height_ext
string_insert
string_length
string_letters
string_lettersdigits
string_lower
string_ord_at
string_pos
string_repeat
string_replace
string_replace_all
string_set_byte_at
string_upper
string_width
string_width_ext
Timelines
timeline_add
timeline_clear
timeline_delete
timeline_exists
timeline_get_name
timeline_max_moment
timeline_moment_add_script
timeline_moment_clear
timeline_size
Web
analytics_event
analytics_event_ext
browser_height
browser_input_capture
browser_width
clickable_add
clickable_add_ext
clickable_change
clickable_change_ext
clickable_delete
clickable_exists
clickable_set_style
url_get_domain
url_open
url_open_ext
url_open_full
webgl_enabled
XBox_Live
xboxlive_gamertag_for_user
xboxlive_show_account_picker
xboxlive_user_is_signed_in
xboxlive_user_is_signing_in