Question: On the HoloLens 2, I want to draw a target on the surface mesh where the user is looking. How do I get the vector pointer that represents the eye ray? I believe the cursor already finds out where this ray pointer collides with the surface mesh, however, it never uses the eye ray. Thank you.

Answer: 
You can use this example which sets the attribute of all checkboxes on the current page to checked.

```
$(function(){
   $('input:checkbox').prop('checked', true)
})

```
It looks like you got the right way to do it from the comments, which is to change the javascript that adds the checkboxes to just add them with a checked property initially. But for others that are looking to do something similar, where they don't have control over the checkboxes, your jQuery function works, but can be done much more simply like this:

```
$(document).ready() {
    $('input:checkbox').attr('checked', true)
}

```

jQuery will already do the looping through the input objects for you (and in your attempt, you would end up adding 'checked' to every input, not just checkboxes).