How to use the status function from gaze

Find comprehensive JavaScript gaze.status code examples handpicked from public code repositorys.

20
21
22
23
24
25
26
27
28
29
  } else if(status.unknown) {
    // don't know what to say
  }
});
var check = function() {
  gaze.status(function(status) {
    console.log("last event at", status.moved_at);
    if(status.entered) {
      if(status.latest_point) {
        console.log("gaze event at", point.x, point.y, point.timestamp);
fork icon2
star icon4
watch icon2