# Isotropic distribution of primaries in GeneralParticleSource

**URL:** <https://geant4-forum.web.cern.ch/t/isotropic-distribution-of-primaries-in-generalparticlesource/8690>\
**Category:** Particles, Track, Event, Run and Biasing\
**Created:** [September 9, 2022, 4:25pm UTC](https://geant4-forum.web.cern.ch/t/isotropic-distribution-of-primaries-in-generalparticlesource/8690 "2022-09-09T16:25:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sergey\_amirkhanyan](https://geant4-forum.web.cern.ch/letter_avatar_proxy/v4/letter/s/e19b73/32.png) [@sergey\_amirkhanyan](https://geant4-forum.web.cern.ch/u/sergey_amirkhanyan)\
**Post date:** [September 9, 2022, 4:25pm UTC](https://geant4-forum.web.cern.ch/t/isotropic-distribution-of-primaries-in-generalparticlesource/8690/1 "2022-09-09T16:25:15Z")

</div>

I use GeneralParticleSource to generate primary particles. What should I write after macro command /gps/direction to have an isotropic distributed direction of primaries ?

---

<div class="post-metadata">

**Author:** ![mkelsey](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/mkelsey/32/49_2.png) [@mkelsey](https://geant4-forum.web.cern.ch/u/mkelsey)\
**Post date:** [September 9, 2022, 6:05pm UTC](https://geant4-forum.web.cern.ch/t/isotropic-distribution-of-primaries-in-generalparticlesource/8690/2 "2022-09-09T18:05:10Z")

</div>

What does the [documentation](https://geant4-userdoc.web.cern.ch/UsersGuides/ForApplicationDeveloper/html/GettingStarted/generalParticleSource.html?highlight=isotropic#angular-distribution) and [macro commands](https://geant4-userdoc.web.cern.ch/UsersGuides/ForApplicationDeveloper/html/GettingStarted/generalParticleSource.html?highlight=isotropic#source-direction-and-angular-distribution) say?
