{"id":129,"date":"2012-02-07T16:24:30","date_gmt":"2012-02-07T16:24:30","guid":{"rendered":"http:\/\/classes.visitsteve.com\/hacking\/?p=129"},"modified":"2012-02-07T16:24:30","modified_gmt":"2012-02-07T16:24:30","slug":"where-is-the-mouse","status":"publish","type":"post","link":"https:\/\/classes.visitsteve.com\/hacking\/where-is-the-mouse\/","title":{"rendered":"Where is the mouse?"},"content":{"rendered":"<p>Are you guessing where to place objects in a sketch? <\/p>\n<p>Let&#8217;s make it easier.<\/p>\n<p>Let&#8217;s write some code.<\/p>\n<p><code>void setup() {<br \/>\n  size(400,400);<br \/>\n}<\/p>\n<p>void draw() {<br \/>\n  println(\"X: \" + mouseX);<br \/>\n  println(\"Y: \" + mouseY);<\/p>\n<p>}<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you guessing where to place objects in a sketch? Let&#8217;s make it easier. Let&#8217;s write some code. void setup() { size(400,400); } void draw() { println(&#8220;X: &#8221; + mouseX); println(&#8220;Y: &#8221; + mouseY); }<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[22],"class_list":["post-129","post","type-post","status-publish","format-standard","hentry","category-class-examples","tag-code"],"_links":{"self":[{"href":"https:\/\/classes.visitsteve.com\/hacking\/wp-json\/wp\/v2\/posts\/129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/classes.visitsteve.com\/hacking\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/classes.visitsteve.com\/hacking\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/classes.visitsteve.com\/hacking\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/classes.visitsteve.com\/hacking\/wp-json\/wp\/v2\/comments?post=129"}],"version-history":[{"count":0,"href":"https:\/\/classes.visitsteve.com\/hacking\/wp-json\/wp\/v2\/posts\/129\/revisions"}],"wp:attachment":[{"href":"https:\/\/classes.visitsteve.com\/hacking\/wp-json\/wp\/v2\/media?parent=129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/classes.visitsteve.com\/hacking\/wp-json\/wp\/v2\/categories?post=129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/classes.visitsteve.com\/hacking\/wp-json\/wp\/v2\/tags?post=129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}