RaycastParams Help

Could someone write me an example of how to use RaycastParams

https://developer.roblox.com/en-us/api-reference/function/WorldRoot/Raycast

There’s an example snippet of code at the bottom of the page.

if you go here Intro to Raycasting

you can see examples


and if you go here WorldRoot:Raycast

you can see another example


and this link will show you all the properties of RaycastParams