Thank you for your cooperation.
Self resolved.
I didn't know how to do it and asked a question here, but I should have asked it in the Babylon.js forum. Sorry about that.
In Babylon.js I was able to change the pointer distance using maxPointerDistance.
https://doc.babylonjs.com/typedoc/interfaces/BABYLON.IWebXRControllerPointerSelectionOptions
I don't know if this is appropriate to post here, but here is an example of setting maxPointerDistance to Infinity in Babylon's PlayGround.
https://playground.babylonjs.com/#43YQHC#16
Thank you very much.
Translated with www.DeepL.com/Translator (free version)