People are overcomplicating this idea, especially since various “spiritual leaders” will intentionally make these concepts more difficult to understand because they need to remain as the “guru” in order to keep grifting more time and money from you.
You can look at nature itself – physics, for example – and discern the nature of this “law of attraction,” which is really more about resonance and synchronicity than imagining things and then it happens. Here is the metaphysical “law of attraction” expressed within practical physics:
In this experiment, which has been reproduced and studied by science multiple times: Five metronomes are set to 176 bpm and placed on a Foam Core board. When empty cans are placed underneath, the board is free to move from side to side and the metronomes are able to influence each other into synchronization. When the cans are removed the metronomes are no longer physically coupled and some of them begin to fall out of step.
Think about this, and a basic idea of how the “law of attraction” actually works should become clear. As you change yourself, you “resonate” (for lack of a better word) differently and thus those who “resonate” with you will begin to synchronize with you, with the “foam core” in this situation being society itself, as well as the subtle energetic interactions that occur between all people. This wisdom is not new, and has been expressed in many simple ways, such as “birds of a feather fly together.” Or, the notion of “crabs in a barrel pulling those down who try to escape.”