when I select a point I need to obtain the data of each point, I am printing in the console to see where I can obtain them, I found this object with the data but they arrive empty
I don't know what object I should use to get this information or how I can do it
I think you want to use a hitTest for this. Here is an example: https://developers.arcgis.com/javascript/latest/sample-code/view-hittest/