{"id":234,"date":"2017-12-23T16:32:21","date_gmt":"2017-12-23T16:32:21","guid":{"rendered":"http:\/\/www.wieringsoftware.com\/ts2\/?page_id=234"},"modified":"2022-09-19T15:34:50","modified_gmt":"2022-09-19T15:34:50","slug":"map-objects","status":"publish","type":"page","link":"https:\/\/www.wieringsoftware.com\/ts2\/learn\/map-objects\/","title":{"rendered":"Map Objects"},"content":{"rendered":"<p>To add objects to your map, you will first need to define an object type. In the project window, right-click on <strong>Objects<\/strong> and select <strong>New Object&#8230;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-237 size-full\" src=\"http:\/\/www.wieringsoftware.com\/ts2\/wp-content\/uploads\/2017\/12\/map-object.png\" alt=\"\" width=\"385\" height=\"171\" srcset=\"https:\/\/www.wieringsoftware.com\/ts2\/wp-content\/uploads\/2017\/12\/map-object.png 385w, https:\/\/www.wieringsoftware.com\/ts2\/wp-content\/uploads\/2017\/12\/map-object-300x133.png 300w\" sizes=\"(max-width: 385px) 100vw, 385px\" \/><\/p>\n<p>Objects can have a position in the map and a width and height (in map cells). If <em>MultipleObjectsInsteadOfArea <\/em>is true, when you make an object larger than 1&#215;1 cell, it will become multiple objects of 1&#215;1 instead of one object of that size.<\/p>\n<p>The <em>DisplayColor<\/em> is just the color you want to see in your map to recognize the object type.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-238 size-large\" src=\"http:\/\/www.wieringsoftware.com\/ts2\/wp-content\/uploads\/2017\/12\/map3-1024x636.png\" alt=\"\" width=\"584\" height=\"363\" srcset=\"https:\/\/www.wieringsoftware.com\/ts2\/wp-content\/uploads\/2017\/12\/map3-1024x636.png 1024w, https:\/\/www.wieringsoftware.com\/ts2\/wp-content\/uploads\/2017\/12\/map3-300x186.png 300w, https:\/\/www.wieringsoftware.com\/ts2\/wp-content\/uploads\/2017\/12\/map3-768x477.png 768w, https:\/\/www.wieringsoftware.com\/ts2\/wp-content\/uploads\/2017\/12\/map3-483x300.png 483w, https:\/\/www.wieringsoftware.com\/ts2\/wp-content\/uploads\/2017\/12\/map3.png 1120w\" sizes=\"(max-width: 584px) 100vw, 584px\" \/><\/p>\n<p>To add an object to your map, hold down <strong>Ctrl<\/strong> and left-click at the position you want to add it (and drag to set the desired size if necessary). Then you can set the object&#8217;s properties in the properties window.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-239 size-full\" src=\"http:\/\/www.wieringsoftware.com\/ts2\/wp-content\/uploads\/2017\/12\/object-properties.png\" alt=\"\" width=\"382\" height=\"241\" srcset=\"https:\/\/www.wieringsoftware.com\/ts2\/wp-content\/uploads\/2017\/12\/object-properties.png 382w, https:\/\/www.wieringsoftware.com\/ts2\/wp-content\/uploads\/2017\/12\/object-properties-300x189.png 300w\" sizes=\"(max-width: 382px) 100vw, 382px\" \/><\/p>\n<p>To select an existing object from the map, use <strong>Ctrl<\/strong> and press the right mouse button. To delete an object, use <strong>Ctrl<\/strong> and press the middle mouse button.<\/p>\n<p>You can show or hide the objects in a map by pressing <strong>Ctrl<\/strong>+<strong>J<\/strong>.<\/p>\n<p>Objects do not belong to any layer but to the map itself.<\/p>\n<p style=\"text-align: center;\"><em>Back to <a href=\"..\/\">Learn<\/a><\/em><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To add objects to your map, you will first need to define an object type. In the project window, right-click on Objects and select New Object&#8230; Objects can have a position in the map and a width and height (in &hellip; <a href=\"https:\/\/www.wieringsoftware.com\/ts2\/learn\/map-objects\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":37,"menu_order":80,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/www.wieringsoftware.com\/ts2\/wp-json\/wp\/v2\/pages\/234"}],"collection":[{"href":"https:\/\/www.wieringsoftware.com\/ts2\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.wieringsoftware.com\/ts2\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.wieringsoftware.com\/ts2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wieringsoftware.com\/ts2\/wp-json\/wp\/v2\/comments?post=234"}],"version-history":[{"count":5,"href":"https:\/\/www.wieringsoftware.com\/ts2\/wp-json\/wp\/v2\/pages\/234\/revisions"}],"predecessor-version":[{"id":292,"href":"https:\/\/www.wieringsoftware.com\/ts2\/wp-json\/wp\/v2\/pages\/234\/revisions\/292"}],"up":[{"embeddable":true,"href":"https:\/\/www.wieringsoftware.com\/ts2\/wp-json\/wp\/v2\/pages\/37"}],"wp:attachment":[{"href":"https:\/\/www.wieringsoftware.com\/ts2\/wp-json\/wp\/v2\/media?parent=234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}