Stan, Thanks for your interest in NetLogo. This advanced, specialized NetLogo developers group is only for discussion of development work using NetLogo internals, such as creating new NetLogo extensions, improving the NetLogo application, or using NetLogo from other programs through its controlling APIs.
Please use the NetLogo users group <https://groups.google.com/g/netlogo-users> for questions on making NetLogo models or using the NetLogo language and software. -Jeremy On Thursday, March 25, 2021 at 2:44:54 PM UTC-5 stanv...@gmail.com wrote: > Hi, I am looking to sprout a new breed at some patch. I then want to be > able to reference this instance through a global variable. > > How I am currently doing it is as follows and I have a feeling this can be > done better: > ` > ask patch 3 1 [sprout-lights 1 [set color red]] ; east > straight light > set east-straight-light one-of lights at-points [[3 1]] ;* > ` > > Any help would be appreciated. Cheers! > -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to netlogo-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/netlogo-devel/77947239-b2d3-4bb5-a947-0f87fccf133dn%40googlegroups.com.