Remember me
You are here: HomeForumCyberix3D ForumUpdatesResolving Cyberix3D Crashes on Windows 11
Welcome, Guest
Username: Password: Remember me

TOPIC: I want to duplicate objects in button press

I want to duplicate objects in button press 6 years 6 months ago #1085

  • romulo27
  • romulo27's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
i want to make a function to create objects in my game, is there a way to do that?
The administrator has disabled public write access.

I want to duplicate objects in button press 6 years 6 months ago #1096

  • cyberix3d
  • cyberix3d's Avatar
  • OFFLINE
  • Administrator
  • Posts: 658
  • Thank you received: 624
Hello romulo27,
You can put an object inside an "If Key Pressed" command and the object will be created when you press that key.
Here is an example:
www.gamemaker3d.com/player?pid=01630703
Press 1 to create cubes
Press 2 to create spheres
Regards,
Cyberix3D team
The administrator has disabled public write access.

I want to duplicate objects in button press 6 years 6 months ago #1097

  • romulo27
  • romulo27's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
i meant duplicate

not change visibility


edit: NEVERMIND i found how to do it myself, thanks anyways for the help! the staff of this is great! always trying to help
Last Edit: 6 years 6 months ago by romulo27.
The administrator has disabled public write access.
Time to create page: 0.082 seconds