So I don’t really know if this makes a lot of sense but I am programming a game in which stuff spawns randomly on the x axis. I have code that kind of works for this but it also spawns randomly on the z axis and I do not want that to happen. Could someone help me with this? Thanks!
heres the easy solution to your problem. Disconnect the yellow wire between your divide and make transform nodes. Rightclick on the divide output pin and select split struct pin. this will give you access to the x y and z values separately. now do the same to the location pin on the make transform node ( right click → split struct pin). now only connect the x value pins together. By only connecting the x pins, the x axis will be the only one receiving a value, the y and z will read a value of 0.