hljs.registerLanguage("gml",function(){"use strict";returnfunction(e){return{name:"GML",aliases:["gml","GML"],case_insensitive:!1,keywords:{keyword:"begin end if then else while do for break continue with until repeat exit and or xor not return mod div switch case default var globalvar enum #macro #region #endregion",built_in:"is_realis_stringis_arrayis_undefinedis_int32is_int64is_ptris_vec3is_vec4is_matrixis_booltypeofvariable_global_existsvariable_global_getvariable_global_setvariable_instance_existsvariable_instance_getvariable_instance_setvariable_instance_get_namesarray_length_1darray_length_2darray_height_2darray_equalsarray_createarray_copyrandomrandom_rangeirandomirandom_rangerandom_set_seedrandom_get_seedrandomizerandomisechooseabsroundfloorceilsignfracsqrtsqrexplnlog2log10sincostanarcsinarccosarctanarctan2dsindcosdtandarcsindarccosdarctandarctan2degtoradradtodegpowerlognminmaxmeanmedianclamplerpdot_productdot_product_3ddot_product_normaliseddot_product_3d_normaliseddot_product_normalizeddot_product_3d_normalizedmath_set_epsilonmath_get_epsilonangle_differencepoint_distance_3dpoint_distancepoint_directionlengthdir_xlengthdir_yrealstringint64ptrstring_formatchransi_charordstring_lengthstring_byte_lengthstring_posstring_copystring_char_atstring_ord_atstring_byte_atstring_set_byte_atstring_deletestring_insertstring_lowerstring_upperstring_repeatstring_lettersstring_digitsstring_lettersdigitsstring_replacestring_replace_allstring_countstring_hash_to_newlineclipboard_has_textclipboard_set_textclipboard_get_textdate_current_datetimedate_create_datetimedate_valid_datetimedate_inc_yeardate_inc_monthdate_inc_weekdate_inc_daydate_inc_hourdate_inc_minutedate_inc_seconddate_get_yeardate_get_monthdate_get_weekdate_get_daydate_get_hourdate_get_minutedate_get_seconddate_get_weekdaydate_get_day_of_yeardate_get_hour_of_yeardate_get_minute_of_yeardate_get_second_of_yeardate_year_spandate_month_spandate_week_spandate_day_spandate_hour_spandate_minute_spandate_second_spandate_compare_datetimedate_compare_datedate_compare_timedate_date_ofdate_time_ofdate_datetime_stringdate_date_stringdate_time_stringdate_days_in_monthdate_days_in_yeardate_leap_yeardate_is_todaydate_set_timezonedate_get_timezonegame_set_speedgame_get_speedmotion_setmotion_addplace_freeplace_emptyplace_meetingplace_snappedmove_randommove_snapmove_towards_pointmove_contact_solidmove_contact_allmove_outside_solidmove_outside_allmove_bounce_solidmove_bounce_allmove_wrapdistance_to_pointdistance_to_objectposition_emptyposition_meetingpath_startpath_endmp_linear_stepmp_potential_stepmp_linear_step_objectmp_potential_step_objectmp_potential_settingsmp_linear_pathmp_potential_pathmp_linear_path_objectmp_potential_path_objectmp_grid_createmp_grid_destroymp_grid_clear_allmp_grid_clear_cellmp_grid_clear_rectanglemp_grid_add_cellmp_grid_get_cellmp_grid_add_rectanglemp_grid_add_instancesmp_grid_pathmp_grid_drawmp_grid_to_ds_gridcollision_pointcollision_rectanglecollision_circlecollision_ellipsecollision_linecollision_point_listcollision_rectangle_listcollision_circle_listcollision_ellipse_listcollision_line_listinstance_position_listinstance_place_listpoint_in_rectanglepoint_in_trianglepoint_in_circlerectangle_in_rectanglerectangle_in_trianglerectangle_in_circleinstance_findinstance_existsinstance_numberinstance_positioninstance_nearestinstance_furthestinstance_placeinstance_create_depthinstance_create_layerinstance_copyinstance_changeinstance_destroyposition_destroyposition_changeinstance_id_getinstance_deactivate_allinstance_deactivate_objectinstance_deactivate_regioninstance_activate_allinstance_activate_objectinstance_activate_regionroom_gotoroom_goto_previousroom_goto_nextroom_previousroom_nextroom_restartgame_endgame_restartgame_loadgame_savegame_save_buffergame_load_bufferevent_performevent_userevent_perform_objecteve