Getting emitter position function