I am using a mac book pro. How do I snap an object to the grid because Apple didn't put an "end" key on the laptop

Have a MacBook Pro M1 2021 and this shortcut worked on mine. Do you use an external keyboard?