{"id":1896,"date":"2022-10-31T17:38:24","date_gmt":"2022-10-31T17:38:24","guid":{"rendered":"http:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/objects-and-entities\/button"},"modified":"2022-12-21T17:36:38","modified_gmt":"2022-12-21T17:36:38","slug":"button","status":"publish","type":"docs","link":"https:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/objects-and-entities\/triggers-and-game-objects\/button","title":{"rendered":"Button"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">WHAT IT&#8217;S FOR:<\/h3>\n\n\n<p>Trigger &#8220;button&#8221; allows you to activate behaviors<br data-rich-text-line-break=\"true\" \/>For example, it allows you to skip a tutorial if you push a button<\/p>\n<p><strong>BEHAVIOR<\/strong><br \/><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-437 alignnone\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/radioButton.jpg\" alt=\"\" width=\"26\" height=\"26\" \/>stay activated radio button: once the trigger is activated, it stays activated.<br \/><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-437 alignnone\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/radioButton.jpg\" alt=\"\" width=\"26\" height=\"26\" \/>switch mode radio button: the trigger behaves like a switch, it can be activated or deactivated, as many times as we want.<\/p>\n<p><strong>BUTTON<br \/><\/strong><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1901 alignnone\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2022\/10\/chooseButton.jpg\" alt=\"\" width=\"218\" height=\"22\" \/> <strong>Choose your button<\/strong> menu: the button assigned to this object<br \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1998\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2022\/10\/button_press.jpg\" alt=\"\" width=\"218\" height=\"22\" \/> <strong>The button mode<\/strong> menu: <strong>Press<\/strong> will only send an activation signal for one frame, H<strong>old<\/strong> will send an activation signal as long as the player is pressing the button.<\/p>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"featured_media":0,"parent":156,"menu_order":17,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-1896","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/1896","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1896"}],"version-history":[{"count":9,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/1896\/revisions"}],"predecessor-version":[{"id":2030,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/1896\/revisions\/2030"}],"up":[{"embeddable":true,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/156"}],"prev":[{"title":"Weapon Set","link":"https:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/objects-and-entities\/triggers-and-game-objects\/weapon-set","href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/184"}],"wp:attachment":[{"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1896"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=1896"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}